Bagikan melalui


WorkspaceServiceHelper.GetIndexWorkspaceService(IWorkspace) Metode

Definisi

Mendapatkan IIndexWorkspaceService untuk instans ruang kerja

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::VisualStudio::Workspace::Indexing::IIndexWorkspaceService ^ GetIndexWorkspaceService(Microsoft::VisualStudio::Workspace::IWorkspace ^ workspace);
public static Microsoft.VisualStudio.Workspace.Indexing.IIndexWorkspaceService GetIndexWorkspaceService (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
static member GetIndexWorkspaceService : Microsoft.VisualStudio.Workspace.IWorkspace -> Microsoft.VisualStudio.Workspace.Indexing.IIndexWorkspaceService
<Extension()>
Public Function GetIndexWorkspaceService (workspace As IWorkspace) As IIndexWorkspaceService

Parameter

workspace
IWorkspace

instans ruang kerja

Mengembalikan

Instans IIndexWorkspaceService atau null jika tidak ditemukan

Berlaku untuk