CustomEntryBuilder.AddScriptBlockExpressionBinding Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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