GraphMetadataOptions Enumeration

 

Bit flags used to control the behavior a GraphProperty.

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

[FlagsAttribute]
public enum GraphMetadataOptions

Member nameDescription
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.

Return to top
Show: