GraphObject::HasValue Method (GraphProperty^)

 

Returns true if the specified annotation exists.

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

public:
bool HasValue(
	GraphProperty^ property
)

Parameters

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

The annotation key.

Return Value

Type: System::Boolean

True if the annotation exists; false otherwise.

Exception Condition
ArgumentNullException

Thrown if key is null.

Return to top
Show: