Method Get
Get(Type)
Returns the node metadata attribute declared on a node type.
public static NodeMetadataAttribute Get(Type nodeType)
Parameters
nodeTypeTypeThe node type to inspect.
Returns
- NodeMetadataAttribute
The attached NodeMetadataAttribute, or null when the type does not declare one.
Get<T>()
Returns the node metadata attribute declared on a node type specified by its CLR type argument.
public static NodeMetadataAttribute Get<T>()
Returns
Type Parameters
T