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


IOleFrame.CreateOleClientItem Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IO > IOleFrame Interface > IOleFrame.CreateOleClientItem Method
ArcGIS Developer Help

IOleFrame.CreateOleClientItem Method

Valid only in MFC environment. Initialize the internal COleClientItem. Pass in a pointer to the application's COleDocument.

[Visual Basic .NET]
Public Sub CreateOleClientItem ( _
    ByVal oleDocument As IntPtr _
)
[C#]
public void CreateOleClientItem (
    IntPtr oleDocument
);
[C++]
HRESULT CreateOleClientItem(
  System.IntPtr* oleDocument
);
[C++]
Parameters
oleDocument 

oleDocument is a parameter of type void*

Product Availability

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

Remarks

OleClientItem is valid only in the MFC (Microsoft Foundation Classes) environment. The method is used to initialize the internal COleClientItem. Pass in a pointer to the application's COleDocument when executing the method.

See Also

IOleFrame Interface