ContextLinkCollection.Remove Method

Removes a ContextLink object from the ContextLinkCollection.

Namespace:  System.Windows.Ink
Assembly:  IAWinFX (in IAWinFX.dll)

Syntax

'Declaration
Public Sub Remove ( _
    link As ContextLink _
)
'Usage
Dim instance As ContextLinkCollection 
Dim link As ContextLink

instance.Remove(link)
public void Remove(
    ContextLink link
)
public:
void Remove(
    ContextLink^ link
)
public function Remove(
    link : ContextLink
)

Parameters

Remarks

The link parameter is also removed from the DestinationNode object's Links property.

Examples

The following example removes a ContextLink, myLink, from a ContextLinkCollection, links.

links.Remove(myLink)
links.Remove(myLink);

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

ContextLinkCollection Class

ContextLinkCollection Members

System.Windows.Ink Namespace