GraphCategoryCollection.AddNewCategory Method (String, Graph, GraphMetadata)
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function AddNewCategory ( _
id As String, _
metadataGraph As Graph, _
metadata As GraphMetadata _
) As GraphCategory
public GraphCategory AddNewCategory(
string id,
Graph metadataGraph,
GraphMetadata metadata
)
public:
GraphCategory^ AddNewCategory(
String^ id,
Graph^ metadataGraph,
GraphMetadata^ metadata
)
member AddNewCategory :
id:string *
metadataGraph:Graph *
metadata:GraphMetadata -> GraphCategory
public function AddNewCategory(
id : String,
metadataGraph : Graph,
metadata : GraphMetadata
) : GraphCategory
Parameters
- id
Type: System.String
- metadataGraph
Type: Microsoft.VisualStudio.GraphModel.Graph
- metadata
Type: Microsoft.VisualStudio.GraphModel.GraphMetadata
Return Value
Type: Microsoft.VisualStudio.GraphModel.GraphCategory
.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.