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


IServerObjectFactoryX.CreateObject Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectFactoryX Interface > IServerObjectFactoryX.CreateObject Method
ArcGIS Developer Help

IServerObjectFactoryX.CreateObject Method

Creates an instance of an AddIn given a CLSID.

[Visual Basic .NET]
Public Function CreateObject ( _
    ByVal CLSID As String _
) As Object
[C#]
public object CreateObject (
    string CLSID
);
[C++]
HRESULT CreateObject(
  BSTR CLSID
);
[C++]
Parameters
CLSID [in]

CLSID is a parameter of type BSTR

Product Availability

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

See Also

IServerObjectFactoryX Interface