Udostępnij za pośrednictwem


Metoda GraphSchema.AddSchema —

Dodaje schematu dziecko to GraphSchema.

Przestrzeń nazw:  Microsoft.VisualStudio.GraphModel
Zestaw:  Microsoft.VisualStudio.GraphModel (w Microsoft.VisualStudio.GraphModel.dll)

Składnia

'Deklaracja
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
)

Parametry

Wyjątki

Wyjątek Warunek
GraphException

Jeśli ten schemat jest elementem podrzędnym danego schematu lub tego schematu IsDocumentSchema.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

GraphSchema Klasa

Przestrzeń nazw Microsoft.VisualStudio.GraphModel