Share via


CmdletBase.Sources Property

Namespace: Microsoft.PowerShell.OneGet.CmdLets
Assembly: Microsoft.PowerShell.OneGet (in Microsoft.PowerShell.OneGet.dll)

Usage

'Usage
Dim instance As CmdletBase
Dim value As IEnumerable(Of String)

value = instance.Sources

instance.Sources = value

Syntax

'Declaration
Public Overridable Property Sources As IEnumerable(Of String)
public virtual IEnumerable<string> Sources { get; set; }
public:
virtual property IEnumerable<String^>^ Sources {
    IEnumerable<String^>^ get ();
    void set (IEnumerable<String^>^ value);
}
/** @property */
public IEnumerable<String> get_Sources ()

/** @property */
public void set_Sources (IEnumerable<String> value)
public function get Sources () : IEnumerable<String>

public function set Sources (value : 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

CmdletBase Class
CmdletBase Members
Microsoft.PowerShell.OneGet.CmdLets Namespace