Link Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a link to a test object or to a file on the server in Visual Studio Test Professional.
public ref class Link sealed : Microsoft::VisualStudio::TestTools::Common::IVisiblePropertyProvider, Microsoft::VisualStudio::TestTools::Common::Xml::IXmlTestStore
[System.Serializable]
public sealed class Link : Microsoft.VisualStudio.TestTools.Common.IVisiblePropertyProvider, Microsoft.VisualStudio.TestTools.Common.Xml.IXmlTestStore
[<System.Serializable>]
type Link = class
interface IVisiblePropertyProvider
interface IXmlTestStore
Public NotInheritable Class Link
Implements IVisiblePropertyProvider, IXmlTestStore
- Inheritance
-
Link
- Attributes
- Implements
Constructors
Link(Guid, String, String, Type) |
Initializes a new instance of the Link class by using the provided ID, name, storage, and type. |
Link(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. |
Properties
Enabled |
Gets a value that indicates whether the link is enabled. |
Id |
Gets the GUID for the link. |
Name |
Gets the name of the link. |
Storage |
Gets the relative path of the object on the server. |
Type |
Gets the type of the target object. |
VisibleProperties |
Gets a collection of property descriptors for those properties that are visible to the user in the user interface. |
Methods
Equals(Object) |
Determines whether the provided object is equal to the current object. |
GetHashCode() | |
IsSame(Link) |
Determines whether the provided link is the same as the current link. |
Load(XmlElement, XmlTestStoreParameters) |
Loads an instance of this class from the provided XML element by using the provided parameters. |
Save(XmlElement, XmlTestStoreParameters) |
Saves this object in the provided XML element. |
ToString() |
Returns a string representation of the link. |