<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gsf_zero1</author_name>
  <author_url>https://blog.hatena.ne.jp/gsf_zero1/</author_url>
  <blog_title>いろいろ備忘録日記</blog_title>
  <blog_url>https://devlights.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>VB</anon>
  </categories>
  <description>以下、メモ書きです。 VBにてC#のようにジェネリックに制約を付加するには以下のようにします。 Public Class XXBase(Of Arg As {継承クラスまたはインターフェース, Class, New}, Result As {XXXX, New}) End Class のようにします。 例として、クラスで、且つ、IComparableを実装していて、且つ、newできるという クラスを作成する場合は、 Public Class GenericSample(Of T As {IComparable, Class, New}) End Class となります。 同じものをC#で書くと…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F20090420%2Fp1&quot; title=&quot; VBでのジェネリック利用時に制約を付加する。(Generic, 制約, where, Class, New) - いろいろ備忘録日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-04-20 00:00:00</published>
  <title> VBでのジェネリック利用時に制約を付加する。(Generic, 制約, where, Class, New)</title>
  <type>rich</type>
  <url>https://devlights.hatenablog.com/entry/20090420/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
