ArcObjects Library Reference (System)  

IDocumentVersionSupportGEN.IsSupportedAtVersion Method

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

Product Availability

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

Remarks

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.

See Also

IDocumentVersionSupportGEN Interface