This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerFile Interface > ILayerFile.ReplaceContents Method (ArcObjects .NET 10.5 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