VSSAVETREEITEM Structure

Specifies save options for a tree-view item.

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

Syntax

'Declaration
Public Structure VSSAVETREEITEM
public struct VSSAVETREEITEM
public value class VSSAVETREEITEM
[<Sealed>]
type VSSAVETREEITEM =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The VSSAVETREEITEM type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field docCookie Handle of the document in the Running Document Table.
Public field grfSave Specifies save options for a document in the running document table (RDT). For a list of values, see __VSRDTSAVEOPTIONS.
Public field itemid Identifier of the hierarchy item. For a list of itemid values, see VSITEMID.
Public field pHier An IVsHierarchy object.

Top

Remarks

Either a docCookie or pHier/itemid pair should be specified.

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

Microsoft.VisualStudio.Shell.Interop Namespace