GraphObject.SetValue Method

Definition

Overloads

SetValue(String, Object)
SetValue<T>(GraphProperty, T)

SetValue(String, Object)

public:
 System::Object ^ SetValue(System::String ^ propertyId, System::Object ^ value);
public object SetValue (string propertyId, object value);
member this.SetValue : string * obj -> obj
Public Function SetValue (propertyId As String, value As Object) As Object

Parameters

propertyId
String
value
Object

Returns

SetValue<T>(GraphProperty, T)

public:
generic <typename T>
 T SetValue(Microsoft::VisualStudio::GraphModel::GraphProperty ^ property, T value);
public T SetValue<T> (Microsoft.VisualStudio.GraphModel.GraphProperty property, T value);
member this.SetValue : Microsoft.VisualStudio.GraphModel.GraphProperty * 'T -> 'T
Public Function SetValue(Of T) (property As GraphProperty, value As T) As T

Type Parameters

T

Parameters

property
GraphProperty
value
T

Returns

T

Applies to