This document is archived and information here might be outdated.  Recommended version.


ILocatorEvents.OnCopy Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Interfaces > IL > ILocatorEvents Interface > ILocatorEvents.OnCopy Method
ArcGIS Developer Help

ILocatorEvents.OnCopy Method

Responds to the client copying the locator.

[Visual Basic .NET]
Public Sub OnCopy ( _
    ByVal pNewLocWks As ILocatorWorkspace, _
    ByVal newName As String, _
    ByVal pNewProps As IPropertySet, _
    ByVal configKeyword As String, _
    ByVal pCancelTracker As ITrackCancel _
)
[C#]
public void OnCopy (
    ILocatorWorkspace pNewLocWks,
    string newName,
    IPropertySet pNewProps,
    string configKeyword,
    ITrackCancel pCancelTracker
);
[C++]
HRESULT OnCopy(
  ILocatorWorkspace* pNewLocWks,
  BSTR newName,
  IPropertySet* pNewProps,
  BSTR configKeyword,
  ITrackCancel* pCancelTracker
);
[C++]
Parameters
pNewLocWks [in]

pNewLocWks is a parameter of type ILocatorWorkspace* newName [in]
newName is a parameter of type BSTR pNewProps [in]
pNewProps is a parameter of type IPropertySet* configKeyword [in]
configKeyword is a parameter of type BSTR pCancelTracker [in]
pCancelTracker is a parameter of type ITrackCancel*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ILocatorEvents Interface