|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IReferenceSystem Interface > IReferenceSystem.SetDefaults Method (ArcObjects .NET 10.5 SDK) | 
Sets the properties of the map grid to default values.
[Visual Basic .NET] Public Sub SetDefaults ( _ ByVal pMapFrame As IMapFrame _ )
[C#] public void SetDefaults ( IMapFrame pMapFrame );
[C++]
HRESULT SetDefaults(
  IMapFrame* pMapFrame
);
[C++]
Parameters pMapFrame [in]
pMapFrame is a parameter of type IMapFrame