GraphObject::GetValue<T> Method (GraphProperty^)

 

Gets the value of the specified property.

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

public:
generic<typename T>
T GetValue(
	GraphProperty^ property
)

Parameters

property
Type: Microsoft.VisualStudio.GraphModel::GraphProperty^

The property you want to get the value of.

Return Value

Type: T

The value of the given property.

Type Parameters

T

The type of data to return.

Exception Condition
ArgumentNullException

Thrown if key is null.

InvalidOperationException

Thrown if property type does not match the given generic type.

Return to top
Show: