GraphSchema Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GraphSchema(String) |
Construct new global GraphSchema object with no owner. These are usually static instances. |
GraphSchema(Graph, String) |
Construct new GraphSchema object |
GraphSchema(String)
Construct new global GraphSchema object with no owner. These are usually static instances.
public:
GraphSchema(System::String ^ name);
public GraphSchema (string name);
new Microsoft.VisualStudio.GraphModel.GraphSchema : string -> Microsoft.VisualStudio.GraphModel.GraphSchema
Public Sub New (name As String)
Parameters
- name
- String
The programatic name of the schema
Applies to
GraphSchema(Graph, String)
Construct new GraphSchema object
public:
GraphSchema(Microsoft::VisualStudio::GraphModel::Graph ^ owner, System::String ^ name);
public GraphSchema (Microsoft.VisualStudio.GraphModel.Graph owner, string name);
new Microsoft.VisualStudio.GraphModel.GraphSchema : Microsoft.VisualStudio.GraphModel.Graph * string -> Microsoft.VisualStudio.GraphModel.GraphSchema
Public Sub New (owner As Graph, name As String)
Parameters
- owner
- 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
- String
The programatic name of the schema