Class Definition File | Part.idl |
Class C++ Binding | Part.xh |
Description | The M_ODPart handler metaclass is provided to part developers. Part developers are required to override the class methods that provide registration information. |
Methods | The methods defined by the M_ODPart class include: |
Overridden Methods | There are no methods overridden by the M_ODPart class. |
This method returns the OLE2 class ID expressed as a string.
Signature
string clsGetOLE2ClassId () |
Parameters
None.
Returns
Remarks
This ID will be used to identify this part to OLE containers that want to embed this part. This is required only if interoperability with OLE2 is desired. This method can return a null string.
This method returns the part handler's display name.
Signature
string clsGetODPartHandlerDisplayName () |
Parameters
None.
Returns
This method returns the part handler's name.
Signature
ISOString clsGetODPartHandlerName () |
Parameters
None.
Returns
This method returns a sequence containing all of the part kinds supported by this part handler.
Signature
_IDL_SEQUENCE_PartKindInfo clsGetODPartKinds () |
Parameters
None.
Returns
This method returns the file name of the icon identifying this part to OLE containers.
Signature
string clsGetWindowsIconFileName () |
Parameters
None.
Returns
Remarks
This icon will be used to identify this part to OLE containers that want to embed this part. The method can return a null string. This is required only if interoperability with OLE2 is desired. When finished using the value returned by this method, the client code is responsible for freeing the string by calling somFree.