This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerFile Interface > ILayerFile.ReplaceContents Method (ArcObjects .NET 10.4 SDK) |
Replace the contents of the layer file.
[Visual Basic .NET] Public Sub ReplaceContents ( _ ByVal pLayer As ILayer _ )
[C#] public void ReplaceContents ( ILayer pLayer );
[C++]
HRESULT ReplaceContents(
ILayer* pLayer
);
[C++]
Parameters pLayer [in]
pLayer is a parameter of type ILayer