LinkArea.Length Property
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.
Gets or sets the number of characters in the link area.
public:
property int Length { int get(); void set(int value); };
public int Length { get; set; }
member this.Length : int with get, set
Public Property Length As Integer
Property Value
The number of characters, including spaces, in the link area.
Remarks
To specify text from the LinkLabel to display as a link, set the Start property to the location in the text to start creating the link. After the Start property is set, set the value of the Length property to the number of characters, including the character position specified in the Start property, that you want to make the link text. For example, if you want to make the first word of the text "The quick brown fox" a link, you set the Start property to zero (0) and the Length property to three (3).
Applies to
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin