SetPackageSource.NewName 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.NewName
instance.NewName = value
Syntax
'Declaration
<ParameterAttribute> _
Public Property NewName As String
[ParameterAttribute]
public string NewName { get; set; }
[ParameterAttribute]
public:
property String^ NewName {
String^ get ();
void set (String^ value);
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */
public String get_NewName ()
/** @property */
/** @attribute CompilerGeneratedAttribute() */
public void set_NewName (String value)
CompilerGeneratedAttribute
public function get NewName () : String
CompilerGeneratedAttribute
public function set NewName (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