MetadataReaderExtensions.GetTypesWithEvents(MetadataReader) 方法

定义

枚举定义一个或多个事件的类型。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<System::Reflection::Metadata::TypeDefinitionHandle> ^ GetTypesWithEvents(System::Reflection::Metadata::MetadataReader ^ reader);
public static System.Collections.Generic.IEnumerable<System.Reflection.Metadata.TypeDefinitionHandle> GetTypesWithEvents (this System.Reflection.Metadata.MetadataReader reader);
static member GetTypesWithEvents : System.Reflection.Metadata.MetadataReader -> seq<System.Reflection.Metadata.TypeDefinitionHandle>
<Extension()>
Public Iterator Function GetTypesWithEvents (reader As MetadataReader) As IEnumerable(Of TypeDefinitionHandle)
<Extension()>
Public Function GetTypesWithEvents (reader As MetadataReader) As IEnumerable(Of TypeDefinitionHandle)

参数

返回

生成的序列完全对应于 EventMap 表中的条目,即,返回的第 n 个 TypeDefinitionHandle 存储在 EventMap 的第 n 行。

适用于