다음을 통해 공유


IGraphFormattedLabel.Label 메서드

소비자가 노드의 레이블 속성 대신 사용할 선택적 레이블을 제공합니다.

네임스페이스:  Microsoft.VisualStudio.GraphModel
어셈블리:  Microsoft.VisualStudio.GraphModel(Microsoft.VisualStudio.GraphModel.dll)

구문

‘선언
Function Label ( _
    graphObject As GraphObject, _
    graphCommandDefinitionIdentifier As String _
) As String
string Label(
    GraphObject graphObject,
    string graphCommandDefinitionIdentifier
)
String^ Label(
    GraphObject^ graphObject, 
    String^ graphCommandDefinitionIdentifier
)
abstract Label : 
        graphObject:GraphObject * 
        graphCommandDefinitionIdentifier:string -> string
function Label(
    graphObject : GraphObject, 
    graphCommandDefinitionIdentifier : String
) : String

매개 변수

  • graphCommandDefinitionIdentifier
    형식: String

    표시되는 노드에 연결된 명령 식별자입니다. 다른 뷰에서 볼 때 노드의 레이블을 사용자 지정하는 데 사용할 수 있습니다.

반환 값

형식: String
String를 반환합니다.

.NET Framework 보안

참고 항목

참조

IGraphFormattedLabel 인터페이스

Microsoft.VisualStudio.GraphModel 네임스페이스