SetPackageSource.Name 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 String

value = instance.Name

instance.Name = value

Syntax

'Declaration
<AliasAttribute(System.String[])> _
<ParameterAttribute(Position:=0, ParameterSetName:="SourceBySearch")> _
Public Property Name As String
[AliasAttribute(System.String[])] 
[ParameterAttribute(Position=0, ParameterSetName="SourceBySearch")] 
public string Name { get; set; }
[AliasAttribute(System.String[])] 
[ParameterAttribute(Position=0, ParameterSetName=L"SourceBySearch")] 
public:
property String^ Name {
    String^ get ();
    void set (String^ value);
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public String get_Name ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_Name (String value)
CompilerGeneratedAttribute 
public function get Name () : String

CompilerGeneratedAttribute 
public function set Name (value : String)

Property Value

Returns String.

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