Export (0) Print
Expand All

GraphSetterCollection 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 Setter objects.

System.Object
  Microsoft.VisualStudio.GraphModel.Styles.GraphSetterCollection

Namespace:  Microsoft.VisualStudio.GraphModel.Styles
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

public class GraphSetterCollection : ICollection<GraphSetter>, 
	IEnumerable<GraphSetter>, IEnumerable, IHasGraphOwner

The GraphSetterCollection type exposes the following members.

  NameDescription
Public methodGraphSetterCollectionConstruct new styles object for the given graph.
Top

  NameDescription
Public propertyCountReturn the number of setters in the collection.
Public propertyGraphGet the Graph that this collection belongs to
Public propertyIsReadOnlyGets a value indicating whether the System.Collections.Generic.ICollection is read-only.
Public propertyOwnerGet the Graph that this collection belongs to
Top

  NameDescription
Public methodAddAdds the specified setter.
Public methodClearClears the list of setters.
Public methodContainsChecks to see whether the Setter is in this collection
Public methodCopyToCopies the elements of the System.Collections.Generic.ICollection to an 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 methodGetGet the property setter
Public methodGetEnumeratorIEnumerable<Setter> implementation
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
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.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIEnumerable.GetEnumeratorIEnumerable implementation
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft