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