Share via


ContextLinkCollection Members

Contains a collection of ContextLink objects.

The following tables list the members exposed by the ContextLinkCollection type.

Public Properties

  Name Description
Public property Count Gets the number of ContextLink objects contained in the ContextLinkCollection.
Public property IsSynchronized Gets a value that indicates whether or not access to the ContextLinkCollection is synchronized (thread safe).
Public property Item Gets the ContextLink object at the specified index within the ContextLinkCollection.
Public property SyncRoot Returns an object that can be used to synchronize access to the ContextLinkCollection.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Add Adds a new ContextLink object to the ContextLinkCollection, indicating the destination node and its direction.
Public method Contains Indicates whether the ContextLinkCollection contains a specific ContextLink object.
Public method CopyTo Copies all of the elements of the current ContextLinkCollection to the specified one-dimensional array, starting at the specified destination array index.
Public method Equals Overloaded. Overridden. Determines whether two ContextLinkCollection instances are equal.
Public method GetEnumerator Returns an object that both implements the Systems.Collections.IEnumerator interface and can iterate through the ContextLink objects within the ContextLinkCollection.
Public method GetHashCode Overridden. Gets the hash code for the ContextLinkCollection instance.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method IndexOf Returns the index of a specific ContextLink object within a ContextLinkCollection.
Public method Static op_Equality Determines whether two specified ContextLinkCollection objects have the same value.
Public method Static op_Inequality Determines whether two specified ContextLinkCollection objects have different values.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Remove Removes a ContextLink object from the ContextLinkCollection.
Public method RemoveAt Removes the ContextLink at the specified position from the ContextLinkCollection.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)

Top

Protected Methods

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implementation Method System.Collections.ICollection.CopyTo Copies the elements of a ContextLinkCollection to an array at the specified index.
Explicit interface implementation Method System.Collections.IEnumerable.GetEnumerator Returns an enumerator that iterates through the current ContextLinkCollection object.

Top

See Also

Reference

ContextLinkCollection Class
System.Windows.Ink Namespace
System.Windows.Ink.ContextLink
ContextNode.Links