This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > II > IInputDeviceManager Interface > IInputDeviceManager.AddDevice Method (ArcObjects .NET 10.4 SDK) |
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