MetadataAggregator.GetGenerationHandle(Handle, Int32) 方法
定义
给定聚合元数据中实体的句柄,计算在其中定义实体的元数据生成中实体的句柄。Calculates the handle of the entity within the metadata generation it is defined in, given a handle of an entity in an aggregate metadata.
public:
System::Reflection::Metadata::Handle GetGenerationHandle(System::Reflection::Metadata::Handle handle, [Runtime::InteropServices::Out] int % generation);
public System.Reflection.Metadata.Handle GetGenerationHandle (System.Reflection.Metadata.Handle handle, out int generation);
member this.GetGenerationHandle : System.Reflection.Metadata.Handle * int -> System.Reflection.Metadata.Handle
Public Function GetGenerationHandle (handle As Handle, ByRef generation As Integer) As Handle
参数
- handle
- Handle
聚合元数据中实体的句柄。Handle of an entity in an aggregate metadata.
- generation
- Int32
在其中定义实体的生成。The generation the entity is defined in.
返回
元数据 generation 中实体的句柄。Handle of the entity within the metadata generation.