共用方式為


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)

Syntax

'宣告
Public Structure VSTREEDISPLAYDATA
'用途
Dim instance As VSTREEDISPLAYDATA
public struct VSTREEDISPLAYDATA
public value class VSTREEDISPLAYDATA
[<SealedAttribute>]
type VSTREEDISPLAYDATA =  struct end
JScript supports the use of structures, but not the declaration of new ones.

Remarks

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.

Thread Safety

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

See Also

Reference

VSTREEDISPLAYDATA Members

Microsoft.VisualStudio.Shell.Interop Namespace