Partager via


VSSAVEFILENAMEW Structure

Contains file name and option information needed by the Common Item Dialog, which is used to open or save files.

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

Syntax

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

The VSSAVEFILENAMEW type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
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.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field dwFlags DWORD specifying standard OFN_ flags, which are used by the OPENFILENAME structure.
Public field dwHelpTopic DWORD specifying the help topic.
Public field hwndOwner HWND specifying the handle of the owning window.
Public field lStructSize DWORD holding the size of this VSSAVEFILENAMEW.
Public field nFileExtension DWORD indicating the file extension.
Public field nFileOffset DWORD indicating the file offset.
Public field nFilterIndex DWORD indicating the filter index.
Public field nMaxFileName DWORD indicating the maximum number of characters in the file name.
Public field pSaveOpts Pointer to an IVsSaveOptionsDlg instance. This interface shows a dialog box from which to choose additional save format options.
Public field pwzDlgTitle Pointer to a string containing the Save Options dialog box title.
Public field pwzFileName Pointer to a string containing the file name.
Public field pwzFilter Pointer to a string containing the file name filter.
Public field pwzInitialDir Pointer to a string containing the initial directory.

Top

Remarks

This structure is similar to the OPENFILENAME structure.

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