CmdletExtensions.IsParameterBound<TPSCmdlet,TProp> 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 static bool IsParameterBound<TPSCmdlet,TProp> (this TPSCmdlet cmdlet, System.Linq.Expressions.Expression<Func<TPSCmdlet,TProp>> propertySelector) where TPSCmdlet : System.Management.Automation.PSCmdlet;
static member IsParameterBound : 'PSCmdlet * System.Linq.Expressions.Expression<Func<'PSCmdlet, 'Prop>> -> bool (requires 'PSCmdlet :> System.Management.Automation.PSCmdlet)
<Extension()>
Public Function IsParameterBound(Of TPSCmdlet As PSCmdlet, TProp As PSCmdlet) (cmdlet As TPSCmdlet, propertySelector As Expression(Of Func(Of TPSCmdlet, TProp))) As Boolean
Type Parameters
- TPSCmdlet
- TProp
Parameters
- cmdlet
- TPSCmdlet
- propertySelector
- Expression<Func<TPSCmdlet,TProp>>