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


IInputDeviceManager.AddDevice Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > II > IInputDeviceManager Interface > IInputDeviceManager.AddDevice Method
ArcGIS Developer Help

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