GraphObject.GetValue<T> 메서드 (GraphProperty, Graph, GraphCategory%)

지정된 된 속성의 값을 가져옵니다 고 속성 값이 상속 된 범주 있으면 반환 합니다.

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

구문

‘선언
Public Function GetValue(Of T) ( _
    property As GraphProperty, _
    owner As Graph, _
    <OutAttribute> ByRef category As GraphCategory _
) As T
public T GetValue<T>(
    GraphProperty property,
    Graph owner,
    out GraphCategory category
)
public:
generic<typename T>
T GetValue(
    GraphProperty^ property, 
    Graph^ owner, 
    [OutAttribute] GraphCategory^% category
)
member GetValue : 
        property:GraphProperty * 
        owner:Graph * 
        category:GraphCategory byref -> 'T 
JScript에서는 제네릭 형식이나 메서드를 지원하지 않습니다.

Type 매개 변수

  • T
    데이터 형식입니다.

매개 변수

반환 값

형식: T
지정 된 속성의 값입니다.

예외

예외 조건
ArgumentNullException

키가 null 인 경우에 throw 됩니다.

InvalidOperationException

지정 된 제네릭 형식의 속성 형식과 일치 하지 않는 경우에 throw 됩니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

GraphObject 클래스

GetValue 오버로드

Microsoft.VisualStudio.GraphModel 네임스페이스