共用方式為


ILocationService.FindServiceDefinitions 方法

命名空間:  Microsoft.VisualStudio.Services.Location
組件:  Microsoft.VisualStudio.Services.Client (在 Microsoft.VisualStudio.Services.Client.dll 中)

語法

'宣告
Function FindServiceDefinitions ( _
    serviceType As String, _
    serviceOwner As Guid _
) As IEnumerable(Of ServiceDefinition)
IEnumerable<ServiceDefinition> FindServiceDefinitions(
    string serviceType,
    Guid serviceOwner
)

參數

傳回值

類型:System.Collections.Generic.IEnumerable<ServiceDefinition>

.NET Framework 安全性

請參閱

參考

ILocationService 介面

Microsoft.VisualStudio.Services.Location 命名空間