다음을 통해 공유


GraphSchema.FindCategoryByLabel 메서드

Subschema는이 스키마 또는 지정 된 레이블이 있는 첫 번째는 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

매개 변수

  • label
    형식: String

    검색에 대 한 레이블입니다.

반환 값

형식: Microsoft.VisualStudio.GraphModel.GraphCategory
첫 번째 범주 레이블을 지정 합니다.범주가 없는 경우 null입니다.

.NET Framework 보안

참고 항목

참조

GraphSchema 클래스

Microsoft.VisualStudio.GraphModel 네임스페이스