IJSVsaItems.CreateItem(String, JSVsaItemType, JSVsaItemFlag) Method
Definition
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.
Creates a new instance of one of the IJSVsaItem types, as defined in the JSVsaItemType enumeration.
public:
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
Public Function CreateItem (name As String, itemType As JSVsaItemType, itemFlag As JSVsaItemFlag) As IJSVsaItem
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. In JScript, however, if you do not specify an AssemblyName, JScript will use the ItemName as the name of the assembly.
- itemType
- JSVsaItemType
The type of item created, as defined in the JSVsaItemType enumeration.
- itemFlag
- JSVsaItemFlag
The optional flag to specify the initial content of a Code item.
Returns
A reference to the IJSVsaItem object created.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om