DataSource.CreateCompatibleInstance Method
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Protected Overridable Function CreateCompatibleInstance ( _
instance As IVsUIDataSource _
) As DataSource
protected virtual DataSource CreateCompatibleInstance(
IVsUIDataSource instance
)
protected:
virtual DataSource^ CreateCompatibleInstance(
IVsUIDataSource^ instance
)
abstract CreateCompatibleInstance :
instance:IVsUIDataSource -> DataSource
override CreateCompatibleInstance :
instance:IVsUIDataSource -> DataSource
protected function CreateCompatibleInstance(
instance : IVsUIDataSource
) : DataSource
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.