Partager via


UIElement.IVsUIElement.get_DataSource Method

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Private Function get_DataSource ( _
    <OutAttribute> ByRef ppDataSource As IVsUISimpleDataSource _
) As Integer Implements IVsUIElement.get_DataSource
'Utilisation
Dim instance As UIElement
Dim ppDataSource As IVsUISimpleDataSource
Dim returnValue As Integer

returnValue = CType(instance, IVsUIElement).get_DataSource(ppDataSource)
int IVsUIElement.get_DataSource(
    out IVsUISimpleDataSource ppDataSource
)
private:
virtual int get_DataSource(
    [OutAttribute] IVsUISimpleDataSource^% ppDataSource
) sealed = IVsUIElement::get_DataSource
private abstract get_DataSource : 
        ppDataSource:IVsUISimpleDataSource byref -> int 
private override get_DataSource : 
        ppDataSource:IVsUISimpleDataSource byref -> int 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32

Implements

IVsUIElement.get_DataSource(IVsUISimpleDataSource%)

.NET Framework Security

See Also

Reference

UIElement Class

UIElement Members

Microsoft.Internal.VisualStudio.PlatformUI Namespace