__VSADDNEWWEBITEMOPTIONS Enumeration

 

Passed as an input parameter to the dialog box to preset these options.

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

[FlagsAttribute]
public enum __VSADDNEWWEBITEMOPTIONS

Member nameDescription
VSADDWEBITEM_IsValidMask

Masks the IsValid bits.

VSADDWEBITEM_SelectMaster

Set if "Select master page" is checked.

VSADDWEBITEM_SelectMasterIsValid

Set if the SelectMaster item is valid for the selected template.

VSADDWEBITEM_SeparateCodeFile

Set if "Separate code file" is checked.

VSADDWEBITEM_SeparateCodeFileIsValid

Set if the SeparateCodeFile item is valid for the selected template.

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.

From vsshell80.idl:

enum __VSADDNEWWEBITEMOPTIONS
{
    VSADDWEBITEM_SelectMaster            = 0x00000001,
    VSADDWEBITEM_SeparateCodeFile        = 0x00000002,
    VSADDWEBITEM_SelectMasterIsValid     = 0x80000000,
    VSADDWEBITEM_SeparateCodeFileIsValid = 0x40000000,
    VSADDWEBITEM_IsValidMask             = 0xF0000000,
};
typedef DWORD VSADDNEWWEBITEMOPTIONS;
Return to top
Show: