Graph.AddSchema(GraphSchema) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add a new schema to the Graph - once it's added, it cannot be removed again as nodes or links might be using categories or properties from the schema.
public:
virtual void AddSchema(Microsoft::VisualStudio::GraphModel::GraphSchema ^ schema);
public virtual void AddSchema (Microsoft.VisualStudio.GraphModel.GraphSchema schema);
abstract member AddSchema : Microsoft.VisualStudio.GraphModel.GraphSchema -> unit
override this.AddSchema : Microsoft.VisualStudio.GraphModel.GraphSchema -> unit
Public Overridable Sub AddSchema (schema As GraphSchema)
Parameters
- schema
- GraphSchema
The schema to add to the graph