Condividi tramite


GraphSchema.AddSchema Method

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

Adds a child schema to this GraphSchema.

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

Syntax

'Declaration
Public Sub AddSchema ( _
    schema As GraphSchema _
)
public void AddSchema(
    GraphSchema schema
)
public:
void AddSchema(
    GraphSchema^ schema
)
member AddSchema : 
        schema:GraphSchema -> unit
public function AddSchema(
    schema : GraphSchema
)

Parameters

Exceptions

Exception Condition
GraphException

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

.NET Framework Security

See Also

Reference

GraphSchema Class

Microsoft.VisualStudio.GraphModel Namespace