Open sandboxFocus

Method GetMetadataIndex

GetMetadataIndex(object)

Gets the index of a serialized metadata reference.

Declaration
int GetMetadataIndex(object metadata)
Parameters
Type Name Description
object metadata

A reflection object.

Returns
Type Description
int

The index of metadata, to be serialized and deserialized at runtime with GetMetadata(int).