Share via


GraphSchema.AddSchema(GraphSchema) Method

Definition

Add a child schema to this GraphSchema

public:
 void AddSchema(Microsoft::VisualStudio::GraphModel::GraphSchema ^ schema);
public void AddSchema (Microsoft.VisualStudio.GraphModel.GraphSchema schema);
member this.AddSchema : Microsoft.VisualStudio.GraphModel.GraphSchema -> unit
Public Sub AddSchema (schema As GraphSchema)

Parameters

schema
GraphSchema

The child to add

Exceptions

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

Applies to