VSTREEDISPLAYDATA Structure

 

Holds values used to retrieve display data for an item in a tree list.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

[ComConversionLossAttribute]
public struct VSTREEDISPLAYDATA

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from ValueType.)

System_CAPS_pubmethodGetHashCode()

(Inherited from ValueType.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from ValueType.)

NameDescription
System_CAPS_pubfieldForceSelectLength

Length of forced selection.

System_CAPS_pubfieldForceSelectStart

Start of the part of the item to always select (for showing search hits).

System_CAPS_pubfieldhImageList

Handle to an image list. If hImageList is set to zero, the tool's default image list will be used. Indices for glyphs in the default image list are in omglyphs.h.

System_CAPS_pubfieldImage

Specifies an index into an image list indicating which glyph is to be displayed. Return Image when TDM_IMAGE is set.

System_CAPS_pubfieldMask

Specifies which fields in the structure are of interest. Values are taken from the _VSTREEDISPLAYMASK enumeration.

System_CAPS_pubfieldSelectedImage

Specifies an index into an image list indicating which glyph is to be displayed when the item is selected. Return SelectedImage when TDM_SELECTEDIMAGE is set. If not set, the selected image used will be the same as the non-selected image.

System_CAPS_pubfieldState

Specifies display state. Values are taken from the _VSTREEDISPLAYSTATE enumeration.

System_CAPS_pubfieldStateMask

Specifies which bit fields in State are of interest. Values are taken from the _VSTREEDISPLAYSTATE enumeration.

When calling GetDisplayData the tree view will set Mask and StateMask to indicate which display or state data fields are of interest, so only the fields identified by those masks need to be returned. If State is set, it indicates that StateMask specifies the state data that is being requested. Typically GetDisplayData is called separately for display data and state data.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: