<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sardine</author_name>
  <author_url>https://blog.hatena.ne.jp/sardine/</author_url>
  <blog_title>toyfish.blog</blog_title>
  <blog_url>https://www.toyfish.blog/</blog_url>
  <categories>
    <anon>prog</anon>
  </categories>
  <description>VB には「クラスビルダユーティリティ」というツールがついていて、クラスを作る時の手間を減らすことができる。このツールでは通常のクラス以外にコレクションクラスも作れるのだが、これで作ったコレクションは、COM コレクショクラスの規約に従っていて、VB の For Each 文で要素を列挙することができる。 が、そもそも For Each 文に対応させるというのは、どういうことなのか。 for…each が利用できるコレクションには、DISPID_NEWENUM という dispid を持つ _NewEnum というメソッドがなければなりません。_NewEnum という名前の先頭にあるアンダース…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.toyfish.blog%2Fentry%2F20040121%2Fp1&quot; title=&quot; VB の自作コレクションを For Each に対応させる方法 - toyfish.blog&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>2004-01-21 00:00:00</published>
  <title> VB の自作コレクションを For Each に対応させる方法</title>
  <type>rich</type>
  <url>https://www.toyfish.blog/entry/20040121/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
