This documentation is archived and is not being maintained.


Similar to the OPENFILENAMEW struct.

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


The VSOPENFILENAMEW type exposes the following members.

Public methodEqualsIndicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from ValueType.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)

Public fielddwFlagsDWORD specifying standard OFN_ flags.
Public fielddwHelpTopicDWORD specifying the help topic.
Public fieldhwndOwnerHWND of the owing window.
Public fieldlStructSizeDWORD holding the size of VSOPENFILENAMEW.
Public fieldnFileExtensionDWORD indicating the file extension.
Public fieldnFileOffsetDWORD indicating the file offset.
Public fieldnFilterIndexDWORD indicating the filter index.
Public fieldnMaxFileNameDWORD holding the maximum number of characters in the file name.
Public fieldpwzDlgTitleString holding the title of the dialog box.
Public fieldpwzFileNameString holding the file name. The first character of this buffer must be NULL if initialization is not necessary.
Public fieldpwzFilterString containing the file name filter.
Public fieldpwzInitialDirString containing the initial directory.

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