Delen via


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.Type

    The 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

See Also

Reference

DataClientObject<T> Class

Microsoft.VisualStudio.Data.Framework Namespace