This document is archived and information here might be outdated. Recommended version. |
Convert the object to another object that is supported.
[Visual Basic .NET] Public Function ConvertToSupportedObject ( _ ByVal docVersion As esriArcGISVersion _ ) As Object
[C#] public object ConvertToSupportedObject ( esriArcGISVersion docVersion );
[C++]
HRESULT ConvertToSupportedObject(
esriArcGISVersion docVersion
);
[C++] Parameters docVersion [in]
docVersion is a parameter of type esriArcGISVersion
This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.