MetadataReaderExtensions.GetTypesWithProperties(MetadataReader) 方法

定义

枚举定义一个或多个属性的类型。Enumerate types that define one or more properties.

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

参数

返回

IEnumerable<TypeDefinitionHandle>

生成的序列完全对应于属性映射表中的条目,即,返回的第 n 个 TypeDefinitionHandle 存储在属性映射的第 n 行。The resulting sequence corresponds exactly to entries in the property map table, that is, the n-th returned TypeDefinitionHandle is stored in n-th row of the property map.

适用于