Export (0) Print
Expand All
Expand Minimize

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)

public enum GraphMetadataOptions

Member nameDescription
BrowsableThe property is visible in the UI (such as in tool tips and the property grid).

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

ImmutableThe property cannot be changed as soon as it is set.


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

SerializableThe property will be serialized to DGML when the graph is serialized.

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

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

UndoableThe 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.

© 2015 Microsoft