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: StringThe property to set.
value
Type: ObjectThe value to set.
Return Value
Type: Object
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.