XamlTypeInvoker.GetEnumeratorMethod メソッド

定義

アイテムを列挙できるメソッドを表すオブジェクトを返します。

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

注釈

nullXamlType.LookupCollectionKindを返す場合は、Noneを返す必要があります。

Important

完全に信頼された XAML 型システムにアクセスしていない場合、このメソッドは、誤った MethodInfo 情報を呼び出し元に報告する可能性があります。

注意 (継承者)

基本実装は、内部ヘルパー メソッドを呼び出します。 そのヘルパーは、nullが不明なXamlTypeInvokerに基づいている場合 (XamlTypeUnderlyingTypeXamlType場合を含む) のnullを返します。 また、nullLookupCollectionKind()を返す場合は、Noneも返します。

適用対象