GraphSchema::AddSchema Method (GraphSchema^)

 

Adds a child schema to this GraphSchema.

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

public:
void AddSchema(
	GraphSchema^ schema
)

Parameters

schema
Type: Microsoft.VisualStudio.GraphModel::GraphSchema^

The child to add.

Exception Condition
GraphException

If this schema is a child of the given schema or if this schema IsDocumentSchema.

Return to top
Show: