FlagsExpression Generic Class
Collapse the table of content
Expand the table of content

FlagsExpression Generic Class

Takes as input a collection of strings and builds an expression tree. This class cannot be inherited. Introduced in Windows PowerShell 3.0.

Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Dim instance As FlagsExpression(Of T)

public sealed class FlagsExpression<T> where T : struct, IConvertible



A type parameter representing the collection of flag attribute subexpression strings.

At the evaluation stage, the class walks down the constructed expression tree and evaluates the result.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

© 2015 Microsoft