IHostApi.GetSources Method
This element is introduced in Windows PowerShell 5.0.
Namespace: Microsoft.OneGet.Api
Assembly: Microsoft.OneGet (in Microsoft.OneGet.dll)
Usage
'Usage
Dim instance As IHostApi
Dim returnValue As IEnumerable(Of String)
returnValue = instance.GetSources
Syntax
'Declaration
Function GetSources As IEnumerable(Of String)
IEnumerable<string> GetSources ()
IEnumerable<String^>^ GetSources ()
IEnumerable<String> GetSources ()
function GetSources () : IEnumerable<String>
Return Value
Returns IEnumerable.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Target Platforms
See Also
Reference
IHostApi Interface
IHostApi Members
Microsoft.OneGet.Api Namespace