你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DynamicCmdlet.SimpleParam Method

Definition

public void SimpleParam (string paramName, Type type, string helpMessage, bool mandatory = false, bool usePipeline = false, params string[] argumentCompleterList);
member this.SimpleParam : string * Type * string * bool * bool * string[] -> unit
Public Sub SimpleParam (paramName As String, type As Type, helpMessage As String, Optional mandatory As Boolean = false, Optional usePipeline As Boolean = false, ParamArray argumentCompleterList As String())

Parameters

paramName
String
type
Type
helpMessage
String
mandatory
Boolean
usePipeline
Boolean
argumentCompleterList
String[]

Applies to