GraphObject.HasValue Method (GraphProperty)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns true if the specified annotation exists.

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

Syntax

'Declaration
Public Function HasValue ( _
    property As GraphProperty _
) As Boolean
public bool HasValue(
    GraphProperty property
)
public:
bool HasValue(
    GraphProperty^ property
)
member HasValue : 
        property:GraphProperty -> bool
public function HasValue(
    property : GraphProperty
) : boolean

Parameters

Return Value

Type: System.Boolean
True if the annotation exists; false otherwise.

Exceptions

Exception Condition
ArgumentNullException

Thrown if key is null.

.NET Framework Security

See Also

Reference

GraphObject Class

HasValue Overload

Microsoft.VisualStudio.GraphModel Namespace