Bagikan melalui


DomainClassXmlSerializer.MonikerAttributeName Property

Gets the XML attribute name that contains the moniker string.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.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 with get 
override MonikerAttributeName : string with get
function get MonikerAttributeName () : String

Property Value

Type: 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