__VSADDNEWWEBITEMOPTIONS Enumeration
Passed as an input parameter to the dialog box to preset these options.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
<FlagsAttribute> _
Public Enumeration __VSADDNEWWEBITEMOPTIONS
[FlagsAttribute]
public enum __VSADDNEWWEBITEMOPTIONS
[FlagsAttribute]
public enum class __VSADDNEWWEBITEMOPTIONS
[<FlagsAttribute>]
type __VSADDNEWWEBITEMOPTIONS
public enum __VSADDNEWWEBITEMOPTIONS
Members
Member name | Description | |
---|---|---|
VSADDWEBITEM_SelectMaster | Set if "Select master page" is checked. | |
VSADDWEBITEM_SeparateCodeFile | Set if "Separate code file" is checked. | |
VSADDWEBITEM_SelectMasterIsValid | Set if the SelectMaster item is valid for the selected template. | |
VSADDWEBITEM_SeparateCodeFileIsValid | Set if the SeparateCodeFile item is valid for the selected template. | |
VSADDWEBITEM_IsValidMask | Masks the IsValid bits. |
Remarks
These options are valid only if the lpszSelect parameter of IVsAddNewWebProjectItemDlg is set to some value. They are also passed to AddNewWebItem when the user clicks OK.
COM Signature
From vsshell80.idl:
enum __VSADDNEWWEBITEMOPTIONS
{
VSADDWEBITEM_SelectMaster = 0x00000001,
VSADDWEBITEM_SeparateCodeFile = 0x00000002,
VSADDWEBITEM_SelectMasterIsValid = 0x80000000,
VSADDWEBITEM_SeparateCodeFileIsValid = 0x40000000,
VSADDWEBITEM_IsValidMask = 0xF0000000,
};
typedef DWORD VSADDNEWWEBITEMOPTIONS;