|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IE > IExportInfoGenerator Interface > IExportInfoGenerator.BeginLayerWithName Method (ArcObjects .NET 10.5 SDK) | 
Generates export information that a layer is starting to draw. Adds the layer name to the information.
[Visual Basic .NET] Public Sub BeginLayerWithName ( _ ByVal pDisplay As IDisplay, _ ByVal pLayer As ILayer _ )
[C#] public void BeginLayerWithName ( IDisplay pDisplay, ILayer pLayer );
[C++]
HRESULT BeginLayerWithName(
  IDisplay* pDisplay,
  ILayer* pLayer
);
[C++]
Parameters pDisplay [in]
pDisplay is a parameter of type IDisplay pLayer [in]
pLayer is a parameter of type ILayer