LinkClickedEventArgs Constructors
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.
Overloads
LinkClickedEventArgs(String) |
Initializes a new instance of the LinkClickedEventArgs class. |
LinkClickedEventArgs(String, Int32, Int32) |
Initializes a new instance of the LinkClickedEventArgs class. |
LinkClickedEventArgs(String)
Initializes a new instance of the LinkClickedEventArgs class.
public:
LinkClickedEventArgs(System::String ^ linkText);
public LinkClickedEventArgs (string linkText);
public LinkClickedEventArgs (string? linkText);
new System.Windows.Forms.LinkClickedEventArgs : string -> System.Windows.Forms.LinkClickedEventArgs
Public Sub New (linkText As String)
Parameters
- linkText
- String
The text of the link that is clicked in the RichTextBox control.
Remarks
The text specified in the linkText
parameter can be a URL, file path, or other data that you want specified for the link being clicked.
Applies to
LinkClickedEventArgs(String, Int32, Int32)
Initializes a new instance of the LinkClickedEventArgs class.
public:
LinkClickedEventArgs(System::String ^ linkText, int linkStart, int linkLength);
public LinkClickedEventArgs (string? linkText, int linkStart, int linkLength);
new System.Windows.Forms.LinkClickedEventArgs : string * int * int -> System.Windows.Forms.LinkClickedEventArgs
Public Sub New (linkText As String, linkStart As Integer, linkLength As Integer)
Parameters
- linkText
- String
The text of the link being clicked.
- linkStart
- Int32
The start of the link span being clicked.
- linkLength
- Int32
The length of the link span being clicked.
Exceptions
The value for linkStart
or linkLength
is negative.
-or-
The values for linkStart
and linkLength
would overflow addition.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기