DataClientObject<T>.GetInstanceOfType Method
Retrieves an instance of the specified support entity.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected Overridable Function GetInstanceOfType ( _
type As Type _
) As Object
protected virtual Object GetInstanceOfType(
Type type
)
protected:
virtual Object^ GetInstanceOfType(
Type^ type
)
abstract GetInstanceOfType :
type:Type -> Object
override GetInstanceOfType :
type:Type -> Object
protected function GetInstanceOfType(
type : Type
) : Object
Parameters
type
Type: System.TypeThe type of the support entity to get an instance of.
Return Value
Type: System.Object
An instance of the specified support entity.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.