Class CSharpVsaGlobalItem
Describes global objects added to the script engine.
Implements
Microsoft.Vsa.IVsaGlobalItem
Microsoft.Vsa.IVsaItem
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Scripting
Assembly: Syncfusion.Scripting.Base.dll
Syntax
public class CSharpVsaGlobalItem : CSharpVsaItem, IVsaGlobalItem, IVsaItem
Constructors
CSharpVsaGlobalItem(CSharpScriptEngine, String)
Construct a CSharpVsaGlobalItem given a script engine and item name.
Declaration
public CSharpVsaGlobalItem(CSharpScriptEngine engine, string name)
Parameters
Type | Name | Description |
---|---|---|
CSharpScriptEngine | engine | |
System.String | name |
Properties
ExposeMembers
Sets a value indicating whether the members of the global object should be made available to the script engine.
Declaration
public bool ExposeMembers { get; set; }
Property Value
Type |
---|
System.Boolean |
ItemType
Gets the specified object's type, as determined by the IVsaItems.CreateItem method.
Declaration
public override VsaItemType ItemType { get; }
Property Value
Type |
---|
Microsoft.Vsa.VsaItemType |
Overrides
TypeString
Sets the type of the global item.
Declaration
public string TypeString { set; }
Property Value
Type |
---|
System.String |
Implements
Microsoft.Vsa.IVsaGlobalItem
Microsoft.Vsa.IVsaItem