Método GraphObject.GetValue<T> (GraphProperty, Graph, GraphCategory%)

Obtém o valor da propriedade especificada e também retornará a categoria que o valor da propriedade foi herdado se houver.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (em Microsoft.VisualStudio.GraphModel.dll)

Sintaxe

'Declaração
Public Function GetValue(Of T) ( _
    property As GraphProperty, _
    schemaForInheritedProperties As Graph, _
    <OutAttribute> ByRef category As GraphCategory _
) As T
public T GetValue<T>(
    GraphProperty property,
    Graph schemaForInheritedProperties,
    out GraphCategory category
)
public:
generic<typename T>
T GetValue(
    GraphProperty^ property, 
    Graph^ schemaForInheritedProperties, 
    [OutAttribute] GraphCategory^% category
)
member GetValue : 
        property:GraphProperty * 
        schemaForInheritedProperties:Graph * 
        category:GraphCategory byref -> 'T 
O JScript não oferece suporte a tipos ou métodos genéricos.

Parâmetros de tipo

  • T
    o tipo de dados para retornar

Parâmetros

Valor de retorno

Tipo: T
valor da propriedade determinada

Segurança do .NET Framework

Consulte também

Referência

GraphObject Classe

Sobrecargas GetValue

Namespace Microsoft.VisualStudio.GraphModel