GraphMetadataOptions Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Bit flags used to control the behavior a GraphProperty.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration GraphMetadataOptions
[FlagsAttribute]
public enum GraphMetadataOptions
[FlagsAttribute]
public enum class GraphMetadataOptions
[<FlagsAttribute>]
type GraphMetadataOptions
public enum GraphMetadataOptions

Members

Member name Description
Browsable The property is visible in the UI (such as in tool tips and the property grid).

Default The default set of metadata options. A property that has these options will be serializable, removable, browseable (appears in the UI), and sharable.

Immutable The property cannot be changed as soon as it is set.

None

Removable The property can be removed after it is set. Otherwise it can only be changed, and not removed.

Serializable The property will be serialized to DGML when the graph is serialized.

Sharable The property will be transferred together with the GraphObject when the GraphObject is being copied to another graph.

Substitutable Any local file paths in the property will be replaced with aliased file paths during serialization.

Undoable The property might not be serializble, but it has to be saved on the undo stack and made undoable. Serializable is automatically also undoable, but you might also want properties that are not serializable but are undoable.

See Also

Reference

Microsoft.VisualStudio.GraphModel Namespace