IVsUIElement.put_DataSource(IVsUISimpleDataSource) Methode

Definition

Bindet die angegebene Datenquelle an dieses Element.

public:
 int put_DataSource(Microsoft::VisualStudio::Shell::Interop::IVsUISimpleDataSource ^ pDataSource);
public:
 int put_DataSource(Microsoft::VisualStudio::Shell::Interop::IVsUISimpleDataSource ^ pDataSource);
int put_DataSource(Microsoft::VisualStudio::Shell::Interop::IVsUISimpleDataSource const & pDataSource);
public int put_DataSource (Microsoft.VisualStudio.Shell.Interop.IVsUISimpleDataSource pDataSource);
abstract member put_DataSource : Microsoft.VisualStudio.Shell.Interop.IVsUISimpleDataSource -> int
Public Function put_DataSource (pDataSource As IVsUISimpleDataSource) As Integer

Parameter

pDataSource
IVsUISimpleDataSource

Die Datenquelle.

Gibt zurück

Int32

Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Bei einem Fehler wird ein Fehlercode zurückgegeben.

Gilt für