Share via


GraphObject.SetValue Method (String, Object)

Adds an annotation, using the given key, type, and value.

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

Syntax

'Declaration
Public Function SetValue ( _
    propertyId As String, _
    value As Object _
) As Object
public Object SetValue(
    string propertyId,
    Object value
)
public:
Object^ SetValue(
    String^ propertyId, 
    Object^ value
)
member SetValue : 
        propertyId:string * 
        value:Object -> Object
public function SetValue(
    propertyId : String, 
    value : Object
) : Object

Parameters

  • propertyId
    Type: String

    The property to set.

  • value
    Type: Object

    The value to set.

Return Value

Type: Object

.NET Framework Security

See Also

Reference

GraphObject Class

SetValue Overload

Microsoft.VisualStudio.GraphModel Namespace