DomainClassXmlSerializer.CalculateQualifiedName Method
Calculates a reference to a handled model element instance.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣告
Public Overridable Function CalculateQualifiedName ( _
directory As DomainXmlSerializerDirectory, _
element As ModelElement _
) As String
public virtual string CalculateQualifiedName(
DomainXmlSerializerDirectory directory,
ModelElement element
)
public:
virtual String^ CalculateQualifiedName(
DomainXmlSerializerDirectory^ directory,
ModelElement^ element
)
abstract CalculateQualifiedName :
directory:DomainXmlSerializerDirectory *
element:ModelElement -> string
override CalculateQualifiedName :
directory:DomainXmlSerializerDirectory *
element:ModelElement -> string
public function CalculateQualifiedName(
directory : DomainXmlSerializerDirectory,
element : ModelElement
) : String
Parameters
- directory
Type: Microsoft.VisualStudio.Modeling.DomainXmlSerializerDirectory
The DomainXmlSerializerDirectory used to look up serializers.
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
The model element instance to calculate the qualified name for.
Return Value
Type: System.String
A fully-qualified string reference to the model element instance.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.