Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.