XamlTypeInvoker.GetEnumeratorMethod メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
アイテムを列挙できるメソッドを表すオブジェクトを返します。
public:
virtual System::Reflection::MethodInfo ^ GetEnumeratorMethod();
public virtual System.Reflection.MethodInfo GetEnumeratorMethod();
abstract member GetEnumeratorMethod : unit -> System.Reflection.MethodInfo
override this.GetEnumeratorMethod : unit -> System.Reflection.MethodInfo
Public Overridable Function GetEnumeratorMethod () As MethodInfo
返品
MethodInfo 列挙子メソッドの場合は null。
注釈
nullがXamlType.LookupCollectionKindを返す場合は、Noneを返す必要があります。
Important
完全に信頼された XAML 型システムにアクセスしていない場合、このメソッドは、誤った MethodInfo 情報を呼び出し元に報告する可能性があります。
注意 (継承者)
基本実装は、内部ヘルパー メソッドを呼び出します。 そのヘルパーは、nullが不明なXamlTypeInvokerに基づいている場合 (XamlTypeのUnderlyingTypeがXamlType場合を含む) のnullを返します。 また、nullがLookupCollectionKind()を返す場合は、Noneも返します。