[This is preliminary documentation and is subject to change.]
Creates a MetaReference referring to this object,
if possible.
Declaration Syntax
C# |
public MetaReference ToMetaReference()
Return Value
The created MetaReference.
Remarks
for this to work, this object must be in a derived class which implements IMetaReferable.
The MetaReference can contain an arbitrary number of name sections, depending on the depth of nesting of this object in the containment hierarchy.
Exceptions
Exception | Condition |
---|---|
NotSupportedException | Thrown if the class of this object
does not implement IMetaReferable. |