GraphPropertyCollection Class

Definition

public ref class GraphPropertyCollection : System::Collections::Generic::ICollection<Microsoft::VisualStudio::GraphModel::GraphProperty ^>, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::GraphProperty ^>
public class GraphPropertyCollection : System.Collections.Generic.ICollection<Microsoft.VisualStudio.GraphModel.GraphProperty>, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.GraphModel.GraphProperty>
type GraphPropertyCollection = class
    interface ICollection<GraphProperty>
    interface seq<GraphProperty>
    interface IEnumerable
Public Class GraphPropertyCollection
Implements ICollection(Of GraphProperty), IEnumerable(Of GraphProperty)
Inheritance
GraphPropertyCollection
Implements

Constructors

GraphPropertyCollection(GraphSchema)

Properties

Count

Gets the number of elements contained in the GraphProperties collection

IsReadOnly

Gets a value indicating whether the GraphProperties collection is Read-only

Properties

Gets the GraphProperties

Schema

Methods

Add(GraphProperty)

Adds an item to the GraphProperties collection

AddNewProperty(String, Type)

Registers a new GraphProperty with the default metadata creator.

AddNewProperty(String, Type, Func<GraphMetadata>)

Registers a new GraphProperty

Clear()

Removes all items from the collection

Contains(GraphProperty)

Determines whether the collection contains a specific value

CopyTo(GraphProperty[], Int32)

Copies the elements of the collection to a System.Array, starting at a particular System.Array index

GetEnumerator()

Returns an enumerator for the graph properties

Remove(GraphProperty)

Removes the first occurrence of a specific object from the collection

Explicit Interface Implementations

IEnumerable<GraphProperty>.GetEnumerator()

Returns an enumerator for the graph properties

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Applies to