GraphSchema Class
TOC
Collapse the table of content
Expand the table of content

GraphSchema Class

 

A GraphSchema is a simple container of a set of GraphCategory and GraphProperty objects and the GraphMetadata associated with them.

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

System.Object
  Microsoft.VisualStudio.GraphModel.GraphSchema

public class GraphSchema

NameDescription
System_CAPS_pubmethodGraphSchema(Graph, String)

Constructs a new GraphSchema object.

System_CAPS_pubmethodGraphSchema(String)

Constructs a new global GraphSchema object that has no owner. These are usually static instances.

NameDescription
System_CAPS_pubpropertyCategories

All the GraphCategory objects that are registered with this schema.

System_CAPS_pubpropertyIsDocumentSchema

Whether this is the document schema associated with a Graph instance for holding deserialized categories and properties that were not defined anywhere else.

System_CAPS_pubpropertyName

The programmatic name of this schema.

System_CAPS_pubpropertyOwner

If this is a Document Schema, this owner points to the Graph that owns this schema.

System_CAPS_pubpropertyProperties

All the GraphProperty objects that are registered with this schema.

System_CAPS_pubpropertySchemas

Returns a list of the child schemas that are contained in this schema (excluding grandchildren).

NameDescription
System_CAPS_pubmethodAddSchema(GraphSchema)

Adds a child schema to this GraphSchema.

System_CAPS_pubmethodContains(GraphSchema)

Returns true if this schema contains the given schema as a child or grandchild.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodFindCategories(IEnumerable<String>)

Gets all the GraphCategories with the specified IDs in this schema and all child schemas recursively.

System_CAPS_pubmethodFindCategory(String)

Gets the GraphCategory with the specified ID by searching this schema and all its children recursively.

System_CAPS_pubmethodFindCategoryByLabel(String)

Gets the first GraphCategory with the specified label from this schema or any subschema.

System_CAPS_pubmethodFindProperties(IEnumerable<String>)

Gets the GraphProperties with the specified IDs and all child schemas recursively.

System_CAPS_pubmethodFindProperty(String)

Gets the GraphProperty with the specified ID.

System_CAPS_pubmethodFindPropertyByLabel(String)

Gets the first GraphProperty with the specified label from this schema or any subschema.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodOverrideMetadata(GraphMetadataContainer, Action<GraphMetadata>)

Overrides the metadata for this category

System_CAPS_pubmethodToString()

(Overrides Object.ToString().)

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

Return to top
Show:
© 2016 Microsoft