Share via


Graph.AddSchema Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Adds a new schema to the Graph. As soon as it is added, it cannot be removed again as nodes or links might be using categories or properties from the schema.

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

Syntax

'Declaration
Public Overridable Sub AddSchema ( _
    schema As GraphSchema _
)
public virtual void AddSchema(
    GraphSchema schema
)
public:
virtual void AddSchema(
    GraphSchema^ schema
)
abstract AddSchema : 
        schema:GraphSchema -> unit  
override AddSchema : 
        schema:GraphSchema -> unit
public function AddSchema(
    schema : GraphSchema
)

Parameters

.NET Framework Security

See Also

Reference

Graph Class

Microsoft.VisualStudio.GraphModel Namespace