RanorexRanorex Documentation
CreateAdapter<(Of <(T>)>) Method (throwException)
NamespacesRanorex.Core.RepositoryRepoItemInfoCreateAdapter<(Of <(T>)>)(Boolean)
Creates an adapter instance for the associated repository item.
Declaration Syntax
C#Visual BasicVisual C++
public T CreateAdapter<T>(
	bool throwException
)
where T : Adapter
Public Function CreateAdapter(Of T As Adapter) ( _
	throwException As Boolean _
) As T
public:
generic<typename T>
where T : Adapter
T CreateAdapter(
	bool throwException
)
Generic Template Parameters
T
The type of adapter to create. The supplied type must inherit from Adapter, but most not be the Adapter type itself.
Parameters
throwException (Boolean)
A value indicating whether to throw an exception if creating an adapter failed.
Return Value
An adapter for the associated repository item or null if creating an adapter failed and throwException is false.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 4.0.3.22982 (4.0.3.22982)