GraphSchema.FindCategory Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the GraphCategory with the specified ID by searching this schema and all its children recursively.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function FindCategory ( _
id As String _
) As GraphCategory
public GraphCategory FindCategory(
string id
)
public:
GraphCategory^ FindCategory(
String^ id
)
member FindCategory :
id:string -> GraphCategory
public function FindCategory(
id : String
) : GraphCategory
Parameters
id
Type: System.StringUnique ID of the GraphCategory to obtain.
Return Value
Type: Microsoft.VisualStudio.GraphModel.GraphCategory
The matching GraphCategory, or null if not found.
.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.