Edit

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

Source:
LinkLabel.Link.cs
Source:
LinkLabel.Link.cs
Source:
LinkLabel.Link.cs

Initializes a new instance of the LinkLabel.Link class.

public Link();

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10
Source:
LinkLabel.Link.cs
Source:
LinkLabel.Link.cs
Source:
LinkLabel.Link.cs

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

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10
Source:
LinkLabel.Link.cs
Source:
LinkLabel.Link.cs
Source:
LinkLabel.Link.cs

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, object linkData);
public Link(int start, int length, object? linkData);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10