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


IMdModel.Validate Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IMdModel.Validate Method

Validates all model elements in the model.

[Visual Basic .NET]
Public Function Validate ( _
    ByVal Reset As Boolean, _
    ByVal pEnvMgr As IGPEnvironmentManager _
) As IGPMessages
[C#]
public IGPMessages Validate (
    bool Reset,
    IGPEnvironmentManager pEnvMgr
);
[C++]
HRESULT Validate(
  VARIANT_BOOL Reset,
  IGPEnvironmentManager* pEnvMgr,
  IGPMessages** Messages
);
[C++]

Parameters Reset [in] Reset is a parameter of type VARIANT_BOOL pEnvMgr [in]
pEnvMgr is a parameter of type IGPEnvironmentManager Messages [out, retval]
Messages is a parameter of type IGPMessages

Product Availability

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

See Also

IMdModel Interface