A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/dotnet/api/system.management.automation.psdefaultvalueattribute below:

PSDefaultValueAttribute Class (System.Management.Automation) | Microsoft Learn

PSDefaultValueAttribute Class Definition

Specify a default value and/or help comment for a command parameter. This attribute does not have any semantic meaning, it is simply an aid to tools to make it simpler to know the true default value of a command parameter (which may or may not have any correlation with, e.g., the backing store of the Parameter's property or field.

public ref class PSDefaultValueAttribute sealed : System::Management::Automation::Internal::ParsingBaseAttribute
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
public sealed class PSDefaultValueAttribute : System.Management.Automation.Internal.ParsingBaseAttribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)>]
type PSDefaultValueAttribute = class
    inherit ParsingBaseAttribute
Public NotInheritable Class PSDefaultValueAttribute
Inherits ParsingBaseAttribute
Inheritance
Attributes
Constructors Properties Help

Specify the help string for the default value of a command parameter.

Value

Specify the default value of a command parameter. The PowerShell engine does not use this value in any way, it exists for other tools that want to reflect on cmdlets.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4