Graph.AddSchema Method

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