Delen via


CmdletExtensions.IsParameterBound<TPSCmdlet,TProp> Method

Definition

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>>

Returns

Applies to