DataSource.CreateCompatibleInstance Method
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Protected Overridable Function CreateCompatibleInstance ( _
instance As IVsUIDataSource _
) As DataSource
protected virtual DataSource CreateCompatibleInstance(
IVsUIDataSource instance
)
Parameters
- instance
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource
Return Value
Type: Microsoft.Internal.VisualStudio.PlatformUI.DataSource
.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.