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

 

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(
	String^ propertyId
)

Parameters

propertyId
Type: System::String^

Annotation key.

Return Value

Type: T

Object associated with the property, or null.

Type Parameters

T

The type of data to return.

Exception Condition
InvalidOperationException

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

Return to top
Show: