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
schema
Type: Microsoft.VisualStudio.GraphModel.GraphSchemaThe child to add.
Exceptions
Exception | Condition |
---|---|
GraphException | If this schema is a child of the given schema or if this schema IsDocumentSchema. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.