Share via


GraphObject.ClearValue<T> Method (GraphProperty)

Clear the value of the specified property.

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

Syntax

'Declaration
Public Function ClearValue(Of T) ( _
    property As GraphProperty _
) As T
public T ClearValue<T>(
    GraphProperty property
)
public:
generic<typename T>
T ClearValue(
    GraphProperty^ property
)
member ClearValue : 
        property:GraphProperty -> 'T 
JScript does not support generic types or methods.

Type Parameters

  • T
    the type of data to return

Parameters

Return Value

Type: T
the annotation value that was removed, or default value if key could not be found

.NET Framework Security

See Also

Reference

GraphObject Class

ClearValue Overload

Microsoft.VisualStudio.GraphModel Namespace