Share via


CustomEntryBuilder.AddScriptBlockExpressionBinding Method

Definition

public System.Management.Automation.CustomEntryBuilder AddScriptBlockExpressionBinding (string scriptBlock, bool enumerateCollection = false, string selectedByType = default, string selectedByScript = default, System.Management.Automation.CustomControl customControl = default);
member this.AddScriptBlockExpressionBinding : string * bool * string * string * System.Management.Automation.CustomControl -> System.Management.Automation.CustomEntryBuilder
Public Function AddScriptBlockExpressionBinding (scriptBlock As String, Optional enumerateCollection As Boolean = false, Optional selectedByType As String = Nothing, Optional selectedByScript As String = Nothing, Optional customControl As CustomControl = Nothing) As CustomEntryBuilder

Parameters

scriptBlock
String
enumerateCollection
Boolean
selectedByType
String
selectedByScript
String
customControl
CustomControl

Returns

Applies to