PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection Namespace / IMetadata­Dispenser Interface / IMetadata­Dispenser Methods / IMetadata­Dispenser.​Get­Metadata Method

IMetadataDispenser.GetMetadata Method

Gets the reflection object corresponding to the given index.

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
Object GetMetadata(
	int index
)

Parameters

index
Type: System.Int32
Index returned by GetMetadataIndex(Object) at build time.

Return Value

Type: Object
The reflection object corresponding to index.
See Also