Link Class

 

Represents a common link control in a dashboard.

Namespace:   Microsoft.WindowsServerSolutions.Common.Controls
Assembly:  AdminCommon (in AdminCommon.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsServerSolutions.Common.Controls.Link

Syntax

public class Link
public ref class Link 
Public Class Link

Constructors

Name Description
System_CAPS_pubmethod Link(String, String, String, String, String, ImageList, Guid)

Initializes a new instance of the Link class with link and ShellExecute information.

System_CAPS_pubmethod Link(XmlElement, ImageList)

Initializes a new instance of the Link class with the XML element to parse and the image list.

System_CAPS_pubmethod Link(XmlElement, ImageList, Guid)

Initializes a new instance of the Link class with the XML element to parse, the image list, and a global identifier.

System_CAPS_pubmethod Link(XmlElement, ImageList, ResourceHandler)

Initializes a new instance of the Link class with the XML element to parse, the resource handler, and the image list.

System_CAPS_pubmethod Link(XmlElement, ResourceHandler, ImageList, Guid)

Initializes a new instance of the Link class with the XML element to parse, the resource handler, the image list, and a global identifier.

Properties

Name Description
System_CAPS_pubproperty ArgumentFormatString

Gets or sets the command-line arguments to use with ShellExecPath.

System_CAPS_pubproperty Description

Gets or sets the second line entry in the list view.

System_CAPS_pubproperty HasLaunched

Gets or sets a value that indicates whether this link has been launched. If the link has been launched, the item no longer appears as bold in the list view.

System_CAPS_pubproperty Id

Gets or sets the global identifier of the link. This value allows external callers to identify this object.

System_CAPS_pubproperty ImageIndex

Gets or sets the index of the image to use in the list view.

System_CAPS_pubproperty ShellExecPath

Gets or sets the string to pass to ShellExecute when launching.

System_CAPS_pubproperty Title

Gets or sets the first line entry in the list view.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod UpdateListViewItem(Boolean)

Constructs or updates a list view item for the parent by using the XML element, if any, that was passed in when the link was created.

Thread Safety

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

See Also

Microsoft.WindowsServerSolutions.Common.Controls Namespace

Return to top