This document is archived and information here might be outdated.  Recommended version.


IESRIScriptEngine.AddCode Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IE > IESRIScriptEngine Interface > IESRIScriptEngine.AddCode Method
ArcGIS Developer Help

IESRIScriptEngine.AddCode Method

The AddCode method.

[Visual Basic .NET]
Public Sub AddCode ( _
    ByVal scriptCode As String _
)
[C#]
public void AddCode (
    string scriptCode
);
[C++]
HRESULT AddCode(
  BSTR scriptCode
);
[C++]
Parameters
scriptCode [in]

scriptCode is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IESRIScriptEngine Interface