VsaItems.CreateItem Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
CreateItem(String, JSVsaItemType, JSVsaItemFlag) |
This API supports the product infrastructure and is not intended to be used directly from your code. Creates a new item and adds it to the collection. |
CreateItem(String, VsaItemType, VsaItemFlag) |
This API supports the product infrastructure and is not intended to be used directly from your code. Creates a new item and adds it to the collection. |
Creates a new item and adds it to the collection.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
virtual Microsoft::JScript::Vsa::IJSVsaItem ^ CreateItem(System::String ^ name, Microsoft::JScript::Vsa::JSVsaItemType itemType, Microsoft::JScript::Vsa::JSVsaItemFlag itemFlag);
public Microsoft.JScript.Vsa.IJSVsaItem CreateItem (string name, Microsoft.JScript.Vsa.JSVsaItemType itemType, Microsoft.JScript.Vsa.JSVsaItemFlag itemFlag);
abstract member CreateItem : string * Microsoft.JScript.Vsa.JSVsaItemType * Microsoft.JScript.Vsa.JSVsaItemFlag -> Microsoft.JScript.Vsa.IJSVsaItem
override this.CreateItem : string * Microsoft.JScript.Vsa.JSVsaItemType * Microsoft.JScript.Vsa.JSVsaItemFlag -> Microsoft.JScript.Vsa.IJSVsaItem
Public Function CreateItem (name As String, itemType As JSVsaItemType, itemFlag As JSVsaItemFlag) As IJSVsaItem
Parameters
- name
- String
The name of the new item.
- itemType
- JSVsaItemType
One of the enumeration values. The value specifies the type of the new item as Code, Reference, or AppGlobal.
- itemFlag
- JSVsaItemFlag
One of the enumeration values. The value specifies the initial content of a Code item as Class, Module, or None.
Returns
The newly created item.
Implements
See also
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Creates a new item and adds it to the collection.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
virtual Microsoft::Vsa::IVsaItem ^ CreateItem(System::String ^ name, Microsoft::Vsa::VsaItemType itemType, Microsoft::Vsa::VsaItemFlag itemFlag);
public Microsoft.Vsa.IVsaItem CreateItem (string name, Microsoft.Vsa.VsaItemType itemType, Microsoft.Vsa.VsaItemFlag itemFlag);
abstract member CreateItem : string * Microsoft.Vsa.VsaItemType * Microsoft.Vsa.VsaItemFlag -> Microsoft.Vsa.IVsaItem
override this.CreateItem : string * Microsoft.Vsa.VsaItemType * Microsoft.Vsa.VsaItemFlag -> Microsoft.Vsa.IVsaItem
Public Function CreateItem (name As String, itemType As VsaItemType, itemFlag As VsaItemFlag) As IVsaItem
Parameters
- name
- String
The name of the new item.
- itemType
- VsaItemType
One of the enumeration values. The value specifies the type of the new item as VsaItemType, VsaItemType, or VsaItemType.
- itemFlag
- VsaItemFlag
One of the enumeration values. The value specifies the initial content of a VsaItemType item as VsaItemFlag, VsaItemFlag, or VsaItemFlag.
Returns
The newly created item.
Implements
See also
Applies to
.NET Framework 3.5 and other versions
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: