Class CSharpVsaCodeItem
Summary description for CSharpCodeItem.
Inheritance
System.Object
CSharpVsaCodeItem
Implements
Microsoft.Vsa.IVsaCodeItem
Microsoft.Vsa.IVsaItem
Assembly: Syncfusion.Scripting.Base.dll
Syntax
public class CSharpVsaCodeItem : CSharpVsaItem, IVsaCodeItem, IVsaItem
Constructors
CSharpVsaCodeItem(CSharpScriptEngine, String)
Declaration
public CSharpVsaCodeItem(CSharpScriptEngine engine, string name)
Parameters
CSharpVsaCodeItem(CSharpScriptEngine, String, VsaItemFlag)
Declaration
public CSharpVsaCodeItem(CSharpScriptEngine engine, string name, VsaItemFlag flag)
Parameters
| Type |
Name |
Description |
| CSharpScriptEngine |
engine |
|
| System.String |
name |
|
| Microsoft.Vsa.VsaItemFlag |
flag |
|
Properties
CodeDOM
Declaration
public CodeObject CodeDOM { get; }
Property Value
| Type |
| System.CodeDom.CodeObject |
ItemType
Declaration
public override VsaItemType ItemType { get; }
Property Value
| Type |
| Microsoft.Vsa.VsaItemType |
Overrides
SourceText
Declaration
public string SourceText { get; set; }
Property Value
Methods
AddEventSource(String, String)
Declaration
public void AddEventSource(string eventSourceName, string eventSourceType)
Parameters
| Type |
Name |
Description |
| System.String |
eventSourceName |
|
| System.String |
eventSourceType |
|
AppendSourceText(String)
Declaration
public void AppendSourceText(string text)
Parameters
| Type |
Name |
Description |
| System.String |
text |
|
RemoveEventSource(String)
Declaration
public void RemoveEventSource(string eventSourceName)
Parameters
| Type |
Name |
Description |
| System.String |
eventSourceName |
|
Implements
Microsoft.Vsa.IVsaCodeItem
Microsoft.Vsa.IVsaItem