GraphObject.GetValue<T> Method (GraphProperty, Graph)

Gets the value of the specified property.

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

Syntax

'Declaration
Public Function GetValue(Of T) ( _
    property As GraphProperty, _
    schemaForInheritedProperties As Graph _
) As T
public T GetValue<T>(
    GraphProperty property,
    Graph schemaForInheritedProperties
)
public:
generic<typename T>
T GetValue(
    GraphProperty^ property, 
    Graph^ schemaForInheritedProperties
)
member GetValue : 
        property:GraphProperty * 
        schemaForInheritedProperties:Graph -> 'T 
JScript does not support generic types or methods.

Type Parameters

  • T
    the type of data to return

Parameters

Return Value

Type: T
value of the given property

.NET Framework Security

See Also

Reference

GraphObject Class

GetValue Overload

Microsoft.VisualStudio.GraphModel Namespace