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

'宣言
Protected Overridable Function GetInstanceOfType ( _
    type As Type _
) As Object
'使用
Dim type As Type
Dim returnValue As Object

returnValue = Me.GetInstanceOfType(type)
protected virtual Object GetInstanceOfType(
    Type type
)
protected:
virtual Object^ GetInstanceOfType(
    Type^ type
)
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.

Permissions

See Also

Reference

DataClientObject<T> Class

DataClientObject<T> Members

Microsoft.VisualStudio.Data.Framework Namespace