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.TypeThe type of the support entity to get an instance of.
Return Value
Type: System.Object
An instance of the specified support entity.
Permissions
- 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.