IVsUIElement.put_DataSource Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'宣告
Function put_DataSource ( _
pDataSource As IVsUISimpleDataSource _
) As Integer
'用途
Dim instance As IVsUIElement
Dim pDataSource As IVsUISimpleDataSource
Dim returnValue As Integer
returnValue = instance.put_DataSource(pDataSource)
int put_DataSource(
IVsUISimpleDataSource pDataSource
)
int put_DataSource(
[InAttribute] IVsUISimpleDataSource^ pDataSource
)
abstract put_DataSource :
pDataSource:IVsUISimpleDataSource -> int
function put_DataSource(
pDataSource : IVsUISimpleDataSource
) : int
Parameters
- pDataSource
Type: Microsoft.VisualStudio.Shell.Interop.IVsUISimpleDataSource
Return Value
Type: System.Int32
.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.