This topic has not yet been rated - Rate this topic

GraphConditionCollection Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

This class provides methods for manipulating a collection of Condition objects.


Namespace:  Microsoft.VisualStudio.GraphModel.Styles
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
public class GraphConditionCollection : ICollection<GraphCondition>, 
	IEnumerable<GraphCondition>, IEnumerable, IHasGraphOwner

The GraphConditionCollection type exposes the following members.

Public methodGraphConditionCollectionConstructs a new styles object for the given graph.
Public propertyCountReturns the number of styles in the collection.
Public propertyGraphGets the Graph that this collection belongs to.
Public propertyIsReadOnlyGets a value indicating whether the System.Collections.Generic.ICollection is read-only.
Public propertyOwnerGets the Graph that this collection belongs to.
Public methodAddAdds the specified condition.
Public methodClearClears the list of conditions.
Public methodContainsDetermines whether the given condition is in the list of conditions for this style.
Public methodCopyToCopies the elements of the System.Collections.Generic.ICollection to a System.Array, starting at a particular System.Array index.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetEnumeratorIEnumerable<Condition> implementation.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInsertInserts the given Condition at the given location in the list.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRemoveRemoves the first occurrence of a specific object from the System.Collections.Generic.ICollection.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Explicit interface implemetationPrivate methodIEnumerable.GetEnumeratorIEnumberable implementation.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.