IVsDataSourceFactory.GetDataSource(Guid, UInt32, IVsUIDataSource) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a data source.
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
Parameters
- guid
- Guid
[in] The GUID for the data source factory.
- dw
- UInt32
[in] Reserved
- ppUIDataSource
- IVsUIDataSource
[out] Pointer to a variable that gets set to a IVsUIDataSource interface representing the data source.
Returns
Returns S_OK if the data source is found, or E_FAIL if not.
Remarks
This method must be accessed on the main thread.