GraphObject.GetValue Method

Definition

Overloads

GetValue(GraphProperty)
GetValue(String)
GetValue<T>(GraphProperty, T)
GetValue<T>(GraphProperty, Graph)
GetValue<T>(GraphProperty, Graph, GraphCategory)
GetValue<T>(GraphProperty)
GetValue<T>(String)

GetValue(GraphProperty)

public:
 System::Object ^ GetValue(Microsoft::VisualStudio::GraphModel::GraphProperty ^ property);
public object GetValue (Microsoft.VisualStudio.GraphModel.GraphProperty property);
member this.GetValue : Microsoft.VisualStudio.GraphModel.GraphProperty -> obj
Public Function GetValue (property As GraphProperty) As Object

Parameters

property
GraphProperty

Returns

GetValue(String)

public:
 System::Object ^ GetValue(System::String ^ propertyId);
public object GetValue (string propertyId);
member this.GetValue : string -> obj
Public Function GetValue (propertyId As String) As Object

Parameters

propertyId
String

Returns

GetValue<T>(GraphProperty, T)

public:
generic <typename T>
 T GetValue(Microsoft::VisualStudio::GraphModel::GraphProperty ^ property, T defaultValueIfNotFound);
public T GetValue<T> (Microsoft.VisualStudio.GraphModel.GraphProperty property, T defaultValueIfNotFound);
member this.GetValue : Microsoft.VisualStudio.GraphModel.GraphProperty * 'T -> 'T
Public Function GetValue(Of T) (property As GraphProperty, defaultValueIfNotFound As T) As T

Type Parameters

T

Parameters

property
GraphProperty
defaultValueIfNotFound
T

Returns

T

GetValue<T>(GraphProperty, Graph)

public:
generic <typename T>
 T GetValue(Microsoft::VisualStudio::GraphModel::GraphProperty ^ property, Microsoft::VisualStudio::GraphModel::Graph ^ owner);
public T GetValue<T> (Microsoft.VisualStudio.GraphModel.GraphProperty property, Microsoft.VisualStudio.GraphModel.Graph owner);
member this.GetValue : Microsoft.VisualStudio.GraphModel.GraphProperty * Microsoft.VisualStudio.GraphModel.Graph -> 'T
Public Function GetValue(Of T) (property As GraphProperty, owner As Graph) As T

Type Parameters

T

Parameters

property
GraphProperty
owner
Graph

Returns

T

GetValue<T>(GraphProperty, Graph, GraphCategory)

public:
generic <typename T>
 T GetValue(Microsoft::VisualStudio::GraphModel::GraphProperty ^ property, Microsoft::VisualStudio::GraphModel::Graph ^ owner, [Runtime::InteropServices::Out] Microsoft::VisualStudio::GraphModel::GraphCategory ^ % category);
public T GetValue<T> (Microsoft.VisualStudio.GraphModel.GraphProperty property, Microsoft.VisualStudio.GraphModel.Graph owner, out Microsoft.VisualStudio.GraphModel.GraphCategory category);
member this.GetValue : Microsoft.VisualStudio.GraphModel.GraphProperty * Microsoft.VisualStudio.GraphModel.Graph *  -> 'T
Public Function GetValue(Of T) (property As GraphProperty, owner As Graph, ByRef category As GraphCategory) As T

Type Parameters

T

Parameters

property
GraphProperty
owner
Graph
category
GraphCategory

Returns

T

GetValue<T>(GraphProperty)

public:
generic <typename T>
 T GetValue(Microsoft::VisualStudio::GraphModel::GraphProperty ^ property);
public T GetValue<T> (Microsoft.VisualStudio.GraphModel.GraphProperty property);
member this.GetValue : Microsoft.VisualStudio.GraphModel.GraphProperty -> 'T
Public Function GetValue(Of T) (property As GraphProperty) As T

Type Parameters

T

Parameters

property
GraphProperty

Returns

T

GetValue<T>(String)

public:
generic <typename T>
 T GetValue(System::String ^ propertyId);
public T GetValue<T> (string propertyId);
member this.GetValue : string -> 'T
Public Function GetValue(Of T) (propertyId As String) As T

Type Parameters

T

Parameters

propertyId
String

Returns

T

Applies to