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


IGeoDatasetSchemaEdit2.ConstructResolutions Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGeoDatasetSchemaEdit2 Interface > IGeoDatasetSchemaEdit2.ConstructResolutions Method
ArcGIS Developer Help

IGeoDatasetSchemaEdit2.ConstructResolutions Method

Returns a list of possible resolutions (precisions) and the doubling factors that produce them from the specified low precision spatial reference. The zeroth returned element is the current precision of the spatial reference.

[Visual Basic .NET]
Public Sub ConstructResolutions ( _
    ByVal SpatialReference As ISpatialReference, _
    ByVal numberRequested As Integer, _
    ByRef defaultXYResolutionIndex As Integer, _
    ByRef xyResolutions As IDoubleArray, _
    ByRef zResolutions As IDoubleArray, _
    ByRef mResolutions As IDoubleArray _
)
[C#]
public void ConstructResolutions (
    ISpatialReference SpatialReference,
    int numberRequested,
    ref int defaultXYResolutionIndex,
    ref IDoubleArray xyResolutions,
    ref IDoubleArray zResolutions,
    ref IDoubleArray mResolutions
);
[C++]
HRESULT ConstructResolutions(
  ISpatialReference* SpatialReference,
  long numberRequested,
  System.Int32* defaultXYResolutionIndex,
  IDoubleArray** xyResolutions,
  IDoubleArray** zResolutions,
  IDoubleArray** mResolutions
);
[C++]
Parameters
SpatialReference 

SpatialReference is a parameter of type ISpatialReference* numberRequested
numberRequested is a parameter of type long defaultXYResolutionIndex [out]
defaultXYResolutionIndex is a parameter of type long* xyResolutions [out]
xyResolutions is a parameter of type IDoubleArray** zResolutions [out]
zResolutions is a parameter of type IDoubleArray** mResolutions [out]
mResolutions is a parameter of type IDoubleArray**

Product Availability

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

Remarks

ConstructResolutions should be used to determine the acceptable levels of resolution available for AlterResolution.

See Also

IGeoDatasetSchemaEdit2 Interface