Édition

Partage via


LinkLabel.Link Constructors

Definition

Initializes a new instance of the LinkLabel.Link class.

Overloads

LinkLabel.Link()

Initializes a new instance of the LinkLabel.Link class.

LinkLabel.Link(Int32, Int32)

Initializes a new instance of the LinkLabel.Link class with the specified starting location and number of characters after the starting location within the LinkLabel.

LinkLabel.Link(Int32, Int32, Object)

Initializes a new instance of the LinkLabel.Link class with the specified starting location, number of characters after the starting location within the LinkLabel, and the data associated with the link.

Initializes a new instance of the LinkLabel.Link class.

public:
 Link();
public Link ();
Public Sub New ()

Applies to

Initializes a new instance of the LinkLabel.Link class with the specified starting location and number of characters after the starting location within the LinkLabel.

public:
 Link(int start, int length);
public Link (int start, int length);
new System.Windows.Forms.LinkLabel.Link : int * int -> System.Windows.Forms.LinkLabel.Link
Public Sub New (start As Integer, length As Integer)

Parameters

start
Int32

The zero-based starting location of the link area within the text of the LinkLabel.

length
Int32

The number of characters, after the starting character, to include in the link area.

Applies to

Initializes a new instance of the LinkLabel.Link class with the specified starting location, number of characters after the starting location within the LinkLabel, and the data associated with the link.

public:
 Link(int start, int length, System::Object ^ linkData);
public Link (int start, int length, object linkData);
public Link (int start, int length, object? linkData);
new System.Windows.Forms.LinkLabel.Link : int * int * obj -> System.Windows.Forms.LinkLabel.Link
Public Sub New (start As Integer, length As Integer, linkData As Object)

Parameters

start
Int32

The zero-based starting location of the link area within the text of the LinkLabel.

length
Int32

The number of characters, after the starting character, to include in the link area.

linkData
Object

The data associated with the link.

Applies to