DataDrivenAdapterBase.CreateInstance Method
Instantiates specific derivations of the DataDrivenAdapterBase class.
Namespace: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter
Assembly: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter (in Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.dll)
Usage
'Usage
Dim appInitStr As String
Dim appObj As Object
Dim returnValue As DataDrivenAdapterBase
returnValue = DataDrivenAdapterBase.CreateInstance(appInitStr, appObj)
Syntax
'Declaration
Public Shared Function CreateInstance ( _
appInitStr As String, _
appObj As Object _
) As DataDrivenAdapterBase
public static DataDrivenAdapterBase CreateInstance (
string appInitStr,
Object appObj
)
public:
static DataDrivenAdapterBase^ CreateInstance (
String^ appInitStr,
Object^ appObj
)
public static DataDrivenAdapterBase CreateInstance (
String appInitStr,
Object appObj
)
public static function CreateInstance (
appInitStr : String,
appObj : Object
) : DataDrivenAdapterBase
Parameters
- appInitStr
Specifies the XML document that contains the application initiation string.
- appObj
Specifies the object used by the data-driven adapter to automate the target application UI.
Return Value
Returns an instance of the DataDrivenAdapterBase class.
Exceptions
Exception type | Condition |
---|---|
DataDrivenAdapterException |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
DataDrivenAdapterBase Class
DataDrivenAdapterBase Members
Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.