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.

Link Class

 

Represents a link to a test object or to a file on the server in Visual Studio Test Professional.

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

System::Object
  Microsoft.VisualStudio.TestTools.Common::Link

[SerializableAttribute]
public ref class Link sealed : IVisiblePropertyProvider, IXmlTestStore

NameDescription
System_CAPS_pubmethodLink(Guid, String^, String^, Type^)

Initializes a new instance of the Link class by using the provided ID, name, storage, and type.

System_CAPS_pubmethodLink(Guid, String^, String^, Type^, Boolean)

Initializes a new instance of the Link class by using the provided ID, name, storage, type, and an indication of whether the link is enabled.

NameDescription
System_CAPS_pubpropertyEnabled

Gets a value that indicates whether the link is enabled.

System_CAPS_pubpropertyId

Gets the GUID for the link.

System_CAPS_pubpropertyName

Gets the name of the link.

System_CAPS_pubpropertyStorage

Gets the relative path of the object on the server.

System_CAPS_pubpropertyType

Gets the type of the target object.

System_CAPS_pubpropertyVisibleProperties

Gets a collection of property descriptors for those properties that are visible to the user in the user interface.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the provided object is equal to the current object.(Overrides Object::Equals(Object^).)

System_CAPS_pubmethodGetHashCode()
System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsSame(Link^)

Determines whether the provided link is the same as the current link.

System_CAPS_pubmethodLoad(XmlElement^, XmlTestStoreParameters^)

Loads an instance of this class from the provided XML element by using the provided parameters.

System_CAPS_pubmethodSave(XmlElement^, XmlTestStoreParameters^)

Saves this object in the provided XML element.

System_CAPS_pubmethodToString()

Returns a string representation of the link.(Overrides Object::ToString().)

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: