This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > ID > IDocumentVersionSupportGEN Interface > IDocumentVersionSupportGEN.IsSupportedAtVersion Method (ArcObjects .NET 10.4 SDK) |
Is this object valid at the given document version.
[Visual Basic .NET] Public Function IsSupportedAtVersion ( _ ByVal docVersion As esriArcGISVersion _ ) As Boolean
[C#] public bool IsSupportedAtVersion ( esriArcGISVersion docVersion );
[C++]
HRESULT IsSupportedAtVersion(
esriArcGISVersion docVersion,
VARIANT_BOOL* supported
);
[C++]
Parameters docVersion [in]
docVersion is a parameter of type esriArcGISVersion supported [out, retval] supported is a parameter of type VARIANT_BOOL
Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.