Compartilhar via


__VSADDNEWWEBITEMOPTIONS Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

public enum class __VSADDNEWWEBITEMOPTIONS
public enum class __VSADDNEWWEBITEMOPTIONS
enum __VSADDNEWWEBITEMOPTIONS
[System.Flags]
public enum __VSADDNEWWEBITEMOPTIONS
[<System.Flags>]
type __VSADDNEWWEBITEMOPTIONS = 
Public Enum __VSADDNEWWEBITEMOPTIONS
Inheritance
__VSADDNEWWEBITEMOPTIONS
Attributes

Fields

Name Value Description
VSADDWEBITEM_SelectMasterIsValid -2147483648

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

VSADDWEBITEM_IsValidMask -268435456

Masks the IsValid bits.

VSADDWEBITEM_SelectMaster 1

Set if "Select master page" is checked.

VSADDWEBITEM_SeparateCodeFile 2

Set if "Separate code file" is checked.

VSADDWEBITEM_SeparateCodeFileIsValid 1073741824

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

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;  

Applies to