Share via


Graph.SetMetadata Method

Set the metadata for an object to the specific metadata. This will be associated with the Graph Document Schema.

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

Syntax

'Declaration
Public Overridable Sub SetMetadata ( _
    item As Object, _
    metadata As GraphMetadata _
)
public virtual void SetMetadata(
    Object item,
    GraphMetadata metadata
)
public:
virtual void SetMetadata(
    Object^ item, 
    GraphMetadata^ metadata
)
abstract SetMetadata : 
        item:Object * 
        metadata:GraphMetadata -> unit 
override SetMetadata : 
        item:Object * 
        metadata:GraphMetadata -> unit 
public function SetMetadata(
    item : Object, 
    metadata : GraphMetadata
)

Parameters

.NET Framework Security

See Also

Reference

Graph Class

Microsoft.VisualStudio.GraphModel Namespace