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


IInputDeviceManager.AddDevice Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

IInputDeviceManager.AddDevice Method

Creates a single device given the CLSID, then passes initializationData to IInputDevice::Startup.

[Visual Basic .NET]
Public Sub AddDevice ( _
    ByVal pDeviceCLSID As UID, _
    ByRef initializationData As Object _
)
[C#]
public void AddDevice (
    UID pDeviceCLSID,
    ref object initializationData
);
[C++]
HRESULT AddDevice(
  IUID* pDeviceCLSID,
  VARIANT* initializationData
);
[C++]

Parameters pDeviceCLSID [in]
pDeviceCLSID is a parameter of type IUID initializationData [in] initializationData is a parameter of type VARIANT

Product Availability

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

See Also

IInputDeviceManager Interface