[This is preliminary documentation and is subject to change.]

Gets acces to link associated with LinkLabel..::..LinkItem contained in Items

Namespace: Tools.WindowsT.FormsT
Assembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
[BrowsableAttribute(false)]
public virtual LinkLabel..::..Link this[
	LinkLabel..::..LinkItem Item
] { get; }
Visual Basic
<BrowsableAttribute(False)> _
Public Overridable ReadOnly Property Links ( _
	Item As LinkLabel..::..LinkItem _
) As LinkLabel..::..Link
	Get
Visual C++
[BrowsableAttribute(false)]
public:
virtual property LinkLabel..::..Link^ Links[LinkLabel..::..LinkItem^ Item] {
	LinkLabel..::..Link^ get (LinkLabel..::..LinkItem^ Item);
}
F#
[<BrowsableAttribute(false)>]
abstract Links : LinkLabel..::..Link
[<BrowsableAttribute(false)>]
override Links : LinkLabel..::..Link
JScript
JScript does not support indexed properties.

Parameters

Item
Type: Tools.WindowsT.FormsT..::..LinkLabel..::..LinkItem
Item which link to obtain

Return Value

LinkLabel..::..Link which Item is represented by

Remarks

Do not make any changes in the Items collection after modyfiyng any link or after creating reference to it. Also do not change values of items contained in the Items collection. These changes causes invalidation of all links.

Do not change Start or Length properties unless you know what you are doing.

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeExceptionItem not found in Items
System..::..InvalidOperationExceptionItem found in the Items colletion but not found as LinkData in the Links collection. Note: This is internal error of LinkLabel and thus should not be thrown if LinkLabel is implemented properly. Do not change value of LinkData or this exception will be thrown though there is no bug in LinkLabel.

See Also