IMetadataEmitter.GetMetadataIndex Method |
Gets the index of a serialized metadata reference.
Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 6.8.6.0 (6.8.6.0)
C#
int GetMetadataIndex( Object metadata )
Parameters
- metadata
- Type: System.Object
A reflection object.
Return Value
Type: Int32The index of metadata, to be serialized and deserialized at runtime with GetMetadata(Int32).