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
- ppDataSource
Type: Microsoft.VisualStudio.Shell.Interop.IVsUISimpleDataSource%
Return Value
Type: System.Int32
Implements
IVsUIElement.get_DataSource(IVsUISimpleDataSource%)
.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.