GraphSchema.FindCategoryByLabel 方法

從這個結構描述 (或任何子模式取得具有指定之標籤的第一 GraphCategory。

命名空間:  Microsoft.VisualStudio.GraphModel
組件:  Microsoft.VisualStudio.GraphModel (在 Microsoft.VisualStudio.GraphModel.dll 中)

語法

'宣告
Public Function FindCategoryByLabel ( _
    label As String _
) As GraphCategory
public GraphCategory FindCategoryByLabel(
    string label
)
public:
GraphCategory^ FindCategoryByLabel(
    String^ label
)
member FindCategoryByLabel : 
        label:string -> GraphCategory 
public function FindCategoryByLabel(
    label : String
) : GraphCategory

參數

傳回值

型別:Microsoft.VisualStudio.GraphModel.GraphCategory
具有指定之標籤的第一個類別中。如果沒有找到,則為 Null 分類。

.NET Framework 安全性

請參閱

參考

GraphSchema 類別

Microsoft.VisualStudio.GraphModel 命名空間