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


IDocumentVersionSupportGEN.ConvertToSupportedObject Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > ID > IDocumentVersionSupportGEN Interface > IDocumentVersionSupportGEN.ConvertToSupportedObject Method
ArcGIS Developer Help

IDocumentVersionSupportGEN.ConvertToSupportedObject Method

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

Product Availability

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

Remarks

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.

See Also

IDocumentVersionSupportGEN Interface