Bewerken

Delen via


VsaItems.CreateItem(String, VsaItemType, VsaItemFlag) Method

Definition

Creates a new instance of one of the VsaItemType types, as defined in the VsaItemFlag enumeration.

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 to associate with the new item. In cases where the item is a reference item type, the name parameter must be exactly the same as the name of the referenced assembly, as set with the AssemblyName property.

ItemType
VsaItemType

The type of item created, as defined in the VsaItemType enumeration.

ItemFlag
VsaItemFlag

An optional flag to specify the initial content of a Code item.

Returns

A reference to the IVsaItem object created.

Implements

Applies to