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


ILocatorEvents.OnCopy Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Location)  

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