Partager via


GraphObject.SetValue, méthode (String, Object)

Ajoute une annotation, à l'aide de la clé, le type, et la valeur donnés.

Espace de noms :  Microsoft.VisualStudio.GraphModel
Assembly :  Microsoft.VisualStudio.GraphModel (dans Microsoft.VisualStudio.GraphModel.dll)

Syntaxe

'Déclaration
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

Paramètres

Valeur de retour

Type : System.Object

Sécurité .NET Framework

Voir aussi

Référence

GraphObject Classe

SetValue, surcharge

Microsoft.VisualStudio.GraphModel, espace de noms