共用方式為


VSTREEDISPLAYDATA.SelectedImage Field

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.

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

Syntax

'宣告
Public SelectedImage As UShort
'用途
Dim instance As VSTREEDISPLAYDATA
Dim value As UShort

value = instance.SelectedImage

instance.SelectedImage = value
public ushort SelectedImage
public:
unsigned short SelectedImage
val mutable SelectedImage: uint16
public var SelectedImage : ushort

Remarks

COM Signature

From vsshell.idl:

.NET Framework Security

See Also

Reference

VSTREEDISPLAYDATA Structure

VSTREEDISPLAYDATA Members

Microsoft.VisualStudio.Shell.Interop Namespace