Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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: 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.