Share via


DomainClassXmlSerializer.MonikerAttributeName Property

Gets the XML attribute name that contains the moniker string.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property MonikerAttributeName As String
public virtual string MonikerAttributeName { get; }
public:
virtual property String^ MonikerAttributeName {
    String^ get ();
}
abstract MonikerAttributeName : string
override MonikerAttributeName : string
function get MonikerAttributeName () : String

Property Value

Type: System.String
Returns the XML attribute name that contains the moniker string.

Remarks

As an example, a ___domain class named Library may have monkier tag name called LibraryMoniker, and a moniker attribute name, ref.

A serializer implementation that overrides MonikerTagName should also override MonikerAttributeName.

The base implementation returns an empty string. An empty string means that the ___domain class cannot be monikerized.

.NET Framework Security

See Also

Reference

DomainClassXmlSerializer Class

Microsoft.VisualStudio.Modeling Namespace