Export (0) Print
Expand All

GraphPropertyCollection Class

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

System.Object
  Microsoft.VisualStudio.GraphModel.GraphPropertyCollection

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

public class GraphPropertyCollection : ICollection<GraphProperty>, 
	IEnumerable<GraphProperty>, IEnumerable

The GraphPropertyCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of elements that are contained in the GraphProperties collection
Public propertyIsReadOnlyGets a value indicating whether the GraphProperties collection is Read-only
Public propertyPropertiesGets the GraphProperties
Public propertySchema
Top

  NameDescription
Public methodAddAdds an item to the GraphProperties collection
Public methodAddNewProperty(String, Type)Registers a new GraphProperty with the default metadata creator.
Public methodAddNewProperty(String, Type, Func<GraphMetadata>)Registers a new GraphProperty
Public methodClearRemoves all items from the collection
Public methodContainsDetermines whether the collection contains a specific value
Public methodCopyToCopies the elements of the collection 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 methodGetEnumeratorReturns an enumerator for the graph properties
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 collection
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
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