Share via


GraphSchema Constructor (Graph, String)

Constructs a new GraphSchema object.

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

Syntax

'Declaration
Public Sub New ( _
    owner As Graph, _
    name As String _
)
public GraphSchema(
    Graph owner,
    string name
)
public:
GraphSchema(
    Graph^ owner, 
    String^ name
)
new : 
        owner:Graph * 
        name:string -> GraphSchema
public function GraphSchema(
    owner : Graph, 
    name : String
)

Parameters

  • owner
    Type: Microsoft.VisualStudio.GraphModel.Graph

    Whether this is the document schema associated with a Graph instance for holding deserialized categories and properties that were not defined anywhere else.

  • name
    Type: String

    The programmatic name of the schema.

.NET Framework Security

See Also

Reference

GraphSchema Class

GraphSchema Overload

Microsoft.VisualStudio.GraphModel Namespace