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.

UserVisiblePropertyAttribute Class

 

Represents an attribute that can be applied to a property of a test element to make the property visible in the property window of the Visual Studio Test Professional user interface. This class cannot be inherited.

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

System::Object
  System::Attribute
    Microsoft.VisualStudio.TestTools.Common::VisiblePropertyAttribute
      Microsoft.VisualStudio.TestTools.Common::UserVisiblePropertyAttribute

[AttributeUsageAttribute(AttributeTargets::Property, AllowMultiple = false)]
public ref class UserVisiblePropertyAttribute sealed : VisiblePropertyAttribute

NameDescription
System_CAPS_pubmethodUserVisiblePropertyAttribute(String^)

Initializes a new instance of the UserVisiblePropertyAttribute class by using the provided property ID.

NameDescription
System_CAPS_pubpropertyGuid

Gets the GUID for the property to which the attribute is applied.

System_CAPS_pubpropertyId

Gets a string version of the Guid property value.

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.)

If you apply this attribute to a property, you must also apply the TestCaseManagementDisplayNameAttribute.

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: