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


IServerObjectFactoryX.CreateObject Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Server)  

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,
  LPUNKNOWN* ppUnk
);
[C++]

Parameters CLSID [in] CLSID is a parameter of type BSTR ppUnk [out, retval] ppUnk is a parameter of type LPUNKNOWN

Product Availability

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

See Also

IServerObjectFactoryX Interface