Adds a layer and checks for datum inconsistencies.
[Visual Basic .NET] Public Function AddLayerCheck ( _ ByVal Map As IMap, _ ByVal Layer As ILayer, _ ByVal parentHWnd As Integer _ ) As Boolean
[C#] public bool AddLayerCheck ( IMap Map, ILayer Layer, int parentHWnd );
Product Availability
Available with ArcGIS Desktop.