Click or drag to resize

AbstractScript Properties

The AbstractScript type exposes the following members.

Properties
 NameDescription
Protected propertyAccumulatedEventData Gets the accumulated event data.
(Inherited from SuspendableDocumentLeafNodeWithSingleAccumulatedDataT)
Public propertyCodeEnd Gets the text inserted after the user code ends.
Public propertyCodeHeader Gets the code header, i.e. the leading script text. It depends on the ScriptStyle.
Public propertyCodeStart Gets the text inserted before the user code starts.
Public propertyCodeTail Get the ending text of the script, dependent on the ScriptStyle.
Public propertyCodeUserDefault Gets the default user code, for example a code sample.
Protected propertyDebug_AbsolutePath Gets the absolute path of the node for debugging purposes.
(Inherited from SuspendableDocumentNodeBase)
Public propertyErrors Returns the compiler errors as array of strings.
Public propertyIsDirty True if the column script is dirty, i.e. the text changed since the last reset of IsDirty.
Public propertyIsDisposed Gets a value indicating whether this instance is disposed.
(Inherited from SuspendableDocumentNodeBase)
Public propertyIsDisposeInProgress Gets a value indicating whether for this instance dispose is in progress, or the instance is already disposed.
(Inherited from SuspendableDocumentNodeBase)
Public propertyIsReadOnly Returns true when the script text can not be modified. Use CloneForModification to obtain a writable copy.
Public propertyIsSomeoneListeningToChanges Gets a value indicating whether someone is listening to changes. For this, either the ParentObject or the Changed event must be set.
(Inherited from SuspendableDocumentNodeBase)
Public propertyIsSuspended Gets a value indicating whether this instance is suspended.
(Inherited from SuspendableDocumentLeafNode)
Public propertyName Gets the name of this document node. Null is returned if the name is not set or unknown. The set accessor will for most nodes throw a InvalidOperationException, since the name can only be set on IProjectItems.
(Inherited from SuspendableDocumentNodeBase)
Public propertyParentObject Gets/sets the parent object this instance belongs to.
(Inherited from SuspendableDocumentNodeBase)
Public propertyScriptAssembly Gets the compiled script assembly, if compilation succeeded.
Public propertyScriptName Gets the script file name.
Public propertyScriptObject Gets the compiled script object, if available.
Public propertyScriptObjectType Gives the type of the script object (full name), which is created after successfull compilation.
Public propertyScriptText Get / sets the script text
Public propertyScriptTextHash Get the script text hash
Public propertyUserAreaScriptOffset Gets the index in the script (considered as string), where the user area starts. This is momentarily behind the comment line " ----- add your script below this line ------"
Top
See Also