共用方式為


FlagsExpression<T> Constructors

Definition

Overloads

FlagsExpression<T>(Object[])

Construct the tree from an object collection when arguments are comma separated. If valid, all elements are OR separated.

FlagsExpression<T>(String)

Construct the expression from a single string.

FlagsExpression<T>(Object[])

Construct the tree from an object collection when arguments are comma separated. If valid, all elements are OR separated.

public:
 FlagsExpression(cli::array <System::Object ^> ^ expression);
public:
 FlagsExpression(Platform::Array <Platform::Object ^> ^ expression);
 FlagsExpression(std::Array <winrt::Windows::Foundation::IInspectable const &> const & expression);
public FlagsExpression (object[] expression);
new System.Management.Automation.FlagsExpression<'T (requires 'T : struct)> : obj[] -> System.Management.Automation.FlagsExpression<'T (requires 'T : struct)>
Public Sub New (expression As Object())

Parameters

expression
Object[]

The array of specified flag attribute subexpression strings.

Applies to

FlagsExpression<T>(String)

Construct the expression from a single string.

public:
 FlagsExpression(System::String ^ expression);
public:
 FlagsExpression(Platform::String ^ expression);
 FlagsExpression(std::wstring const & expression);
public FlagsExpression (string expression);
new System.Management.Automation.FlagsExpression<'T (requires 'T : struct)> : string -> System.Management.Automation.FlagsExpression<'T (requires 'T : struct)>
Public Sub New (expression As String)

Parameters

expression
String

The specified flag attribute expression string.

Applies to