SetPackageSource.Sources Property
This element is introduced in Windows PowerShell 5.0.
Namespace: Microsoft.PowerShell.OneGet.CmdLets
Assembly: Microsoft.PowerShell.OneGet (in Microsoft.PowerShell.OneGet.dll)
Usage
'Usage
Dim instance As SetPackageSource
Dim value As IEnumerable(Of String)
value = instance.Sources
Syntax
'Declaration
Public Overrides ReadOnly Property Sources As IEnumerable(Of String)
public override IEnumerable<string> Sources { get; }
public:
virtual property IEnumerable<String^>^ Sources {
IEnumerable<String^>^ get () override;
}
/** @property */
public IEnumerable<String> get_Sources ()
public override function get Sources () : IEnumerable<String>
Property 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
SetPackageSource Class
SetPackageSource Members
Microsoft.PowerShell.OneGet.CmdLets Namespace