GraphSchema Class
A GraphSchema is a simple container of a set of GraphCategory and GraphProperty objects and the GraphMetadata associated with them.
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
| Name | Description | |
|---|---|---|
![]() | GraphSchema(Graph^, String^) | Constructs a new GraphSchema object. |
![]() | GraphSchema(String^) | Constructs a new global GraphSchema object that has no owner. These are usually static instances. |
| Name | Description | |
|---|---|---|
![]() | Categories | All the GraphCategory objects that are registered with this schema. |
![]() | IsDocumentSchema | Whether this is the document schema associated with a Graph instance for holding deserialized categories and properties that were not defined anywhere else. |
![]() | Name | The programmatic name of this schema. |
![]() | Owner | If this is a Document Schema, this owner points to the Graph that owns this schema. |
![]() | Properties | All the GraphProperty objects that are registered with this schema. |
![]() | Schemas | Returns a list of the child schemas that are contained in this schema (excluding grandchildren). |
| Name | Description | |
|---|---|---|
![]() | AddSchema(GraphSchema^) | Adds a child schema to this GraphSchema. |
![]() | Contains(GraphSchema^) | Returns true if this schema contains the given schema as a child or grandchild. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | FindCategories(IEnumerable<String^>^) | Gets all the GraphCategories with the specified IDs in this schema and all child schemas recursively. |
![]() | FindCategory(String^) | Gets the GraphCategory with the specified ID by searching this schema and all its children recursively. |
![]() | FindCategoryByLabel(String^) | Gets the first GraphCategory with the specified label from this schema or any subschema. |
![]() | FindProperties(IEnumerable<String^>^) | Gets the GraphProperties with the specified IDs and all child schemas recursively. |
![]() | FindProperty(String^) | Gets the GraphProperty with the specified ID. |
![]() | FindPropertyByLabel(String^) | Gets the first GraphProperty with the specified label from this schema or any subschema. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | OverrideMetadata(GraphMetadataContainer^, Action<GraphMetadata^>^) | Overrides the metadata for this category |
![]() | ToString() | (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.


