Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PersistenceElementNameAttribute Class

 

Represents an attribute that provides an element name for persisting an element to XML.

Namespace:   Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

System::Object
  System::Attribute
    Microsoft.VisualStudio.TestTools.Common::PersistenceElementNameAttribute

[AttributeUsageAttribute(AttributeTargets::Field, AllowMultiple = false)]
public ref class PersistenceElementNameAttribute sealed : Attribute

NameDescription
System_CAPS_pubmethodPersistenceElementNameAttribute(String^)

Initializes a new instance of the PersistenceElementNameAttribute class by using the provided name.

NameDescription
System_CAPS_pubpropertyName

Gets the element name to use in persistence.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

For more information about how to use attributes, see Extending Metadata Using Attributes.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: