共用方式為


IVsUIElement.get_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 get_DataSource ( _
    <OutAttribute> ByRef ppDataSource As IVsUISimpleDataSource _
) As Integer
'用途
Dim instance As IVsUIElement
Dim ppDataSource As IVsUISimpleDataSource
Dim returnValue As Integer

returnValue = instance.get_DataSource(ppDataSource)
int get_DataSource(
    out IVsUISimpleDataSource ppDataSource
)
int get_DataSource(
    [OutAttribute] IVsUISimpleDataSource^% ppDataSource
)
abstract get_DataSource : 
        ppDataSource:IVsUISimpleDataSource byref -> int 
function get_DataSource(
    ppDataSource : IVsUISimpleDataSource
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsUIElement Interface

IVsUIElement Members

Microsoft.VisualStudio.Shell.Interop Namespace