IVsRegisterDataSourceFactories.GetDataSource Yöntem

Tanım

Veri kaynağı için bir arabirim döndürür.

public:
 int GetDataSource(Guid % guid, System::UInt32 dw, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUIDataSource ^ % ppUIDataSource);
public int GetDataSource (ref Guid guid, uint dw, out Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource ppUIDataSource);
abstract member GetDataSource : Guid * uint32 * IVsUIDataSource -> int
Public Function GetDataSource (ByRef guid As Guid, dw As UInteger, ByRef ppUIDataSource As IVsUIDataSource) As Integer

Parametreler

guid
Guid

'ndaki Veri kaynağı için genel olarak benzersiz tanımlayıcı.

dw
UInt32

'ndaki Ayrılamadı.

ppUIDataSource
IVsUIDataSource

dışı Arabirim işaretçisinin nereye yerleştirileceğini gösteren işaretçi.

Döndürülenler

Int32

Veri kaynağı geçerli olduğunda S_OK döndürür veya GUID bulunamazsa E_FAIL.

Uygulamalar

Şunlara uygulanır