Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- item
Type: System.Object
- metadata
Type: Microsoft.VisualStudio.GraphModel.GraphMetadata
The metadata associated with the 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.