Selection Construtores

Definição

Cria um objeto Selection.Creates a Selection object.

Sobrecargas

Selection()

Cria um objeto Selection vazio.Creates an empty Selection object.

Selection(ModelItem[])

Cria um objeto Selection com os objetos especificados selecionados.Creates a Selection object with the specified objects selected.

Selection(IEnumerable<ModelItem>)

Cria um objeto Selection com os objetos especificados selecionados.Creates a Selection object with the specified objects selected.

Selection(IEnumerable)

Cria um objeto Selection com os objetos especificados selecionados.Creates a Selection object with the specified objects selected.

Selection(IEnumerable<ModelItem>, Predicate<ModelItem>)

Cria um objeto Selection com os objetos especificados selecionados.Creates a Selection object with the specified objects selected.

Selection(IEnumerable, Predicate<ModelItem>)

Cria um objeto Selection com os objetos especificados selecionados.Creates a Selection object with the specified objects selected.

Selection()

Cria um objeto Selection vazio.Creates an empty Selection object.

public:
 Selection();
public Selection ();
Public Sub New ()

Aplica-se a

Selection(ModelItem[])

Cria um objeto Selection com os objetos especificados selecionados.Creates a Selection object with the specified objects selected.

public:
 Selection(... cli::array <System::Activities::Presentation::Model::ModelItem ^> ^ selectedObjects);
public Selection (params System.Activities.Presentation.Model.ModelItem[] selectedObjects);
new System.Activities.Presentation.View.Selection : System.Activities.Presentation.Model.ModelItem[] -> System.Activities.Presentation.View.Selection
Public Sub New (ParamArray selectedObjects As ModelItem())

Parâmetros

selectedObjects
ModelItem[]

Uma matriz de parâmetros de objetos que devem ser selecionados.A parameter array of objects that should be selected.

Comentários

O primeiro objeto é considerado a seleção principal.The first object is considered the primary selection.

Aplica-se a

Selection(IEnumerable<ModelItem>)

Cria um objeto Selection com os objetos especificados selecionados.Creates a Selection object with the specified objects selected.

public:
 Selection(System::Collections::Generic::IEnumerable<System::Activities::Presentation::Model::ModelItem ^> ^ selectedObjects);
public Selection (System.Collections.Generic.IEnumerable<System.Activities.Presentation.Model.ModelItem> selectedObjects);
new System.Activities.Presentation.View.Selection : seq<System.Activities.Presentation.Model.ModelItem> -> System.Activities.Presentation.View.Selection
Public Sub New (selectedObjects As IEnumerable(Of ModelItem))

Parâmetros

selectedObjects
IEnumerable<ModelItem>

Uma enumeração de objetos que devem ser selecionados.An enumeration of objects that should be selected.

Exceções

Se selectedObjects for null.If selectedObjects is null.

Comentários

O primeiro objeto na enumeração é considerado a seleção principal.The first object in the enumeration is considered the primary selection.

Aplica-se a

Selection(IEnumerable)

Cria um objeto Selection com os objetos especificados selecionados.Creates a Selection object with the specified objects selected.

public:
 Selection(System::Collections::IEnumerable ^ selectedObjects);
public Selection (System.Collections.IEnumerable selectedObjects);
new System.Activities.Presentation.View.Selection : System.Collections.IEnumerable -> System.Activities.Presentation.View.Selection
Public Sub New (selectedObjects As IEnumerable)

Parâmetros

selectedObjects
IEnumerable

Uma enumeração de objetos que devem ser selecionados.An enumeration of objects that should be selected.

Exceções

Se selectedObjects for null.If selectedObjects is null.

Comentários

O primeiro objeto na enumeração é considerado a seleção principal.The first object in the enumeration is considered the primary selection.

Aplica-se a

Selection(IEnumerable<ModelItem>, Predicate<ModelItem>)

Cria um objeto Selection com os objetos especificados selecionados.Creates a Selection object with the specified objects selected.

public:
 Selection(System::Collections::Generic::IEnumerable<System::Activities::Presentation::Model::ModelItem ^> ^ selectedObjects, Predicate<System::Activities::Presentation::Model::ModelItem ^> ^ match);
public Selection (System.Collections.Generic.IEnumerable<System.Activities.Presentation.Model.ModelItem> selectedObjects, Predicate<System.Activities.Presentation.Model.ModelItem> match);
new System.Activities.Presentation.View.Selection : seq<System.Activities.Presentation.Model.ModelItem> * Predicate<System.Activities.Presentation.Model.ModelItem> -> System.Activities.Presentation.View.Selection
Public Sub New (selectedObjects As IEnumerable(Of ModelItem), match As Predicate(Of ModelItem))

Parâmetros

selectedObjects
IEnumerable<ModelItem>

Uma enumeração de objetos que devem ser selecionados.An enumeration of objects that should be selected.

match
Predicate<ModelItem>

Os critérios de inclusão de objetos.The criteria for including objects. Somente os objetos no selectedObjects que correspondem ao predicado serão adicionados à seleção.Only those objects in selectedObjects that match the predicate will be added to the selection.

Exceções

Se selectedObjects ou match for null.If selectedObjects or match is null.

Comentários

O primeiro objeto na enumeração que corresponde ao predicado é considerado a seleção principal.The first object in the enumeration that matches the predicate is considered the primary selection.

Aplica-se a

Selection(IEnumerable, Predicate<ModelItem>)

Cria um objeto Selection com os objetos especificados selecionados.Creates a Selection object with the specified objects selected.

public:
 Selection(System::Collections::IEnumerable ^ selectedObjects, Predicate<System::Activities::Presentation::Model::ModelItem ^> ^ match);
public Selection (System.Collections.IEnumerable selectedObjects, Predicate<System.Activities.Presentation.Model.ModelItem> match);
new System.Activities.Presentation.View.Selection : System.Collections.IEnumerable * Predicate<System.Activities.Presentation.Model.ModelItem> -> System.Activities.Presentation.View.Selection
Public Sub New (selectedObjects As IEnumerable, match As Predicate(Of ModelItem))

Parâmetros

selectedObjects
IEnumerable

Uma enumeração de objetos que devem ser selecionados.An enumeration of objects that should be selected.

match
Predicate<ModelItem>

Os critérios de inclusão de objetos.The criteria for including objects. Somente os objetos no selectedObjects que correspondem ao predicado serão adicionados à seleção.Only those objects in selectedObjects that match the predicate will be added to the selection.

Exceções

Se selectedObjects ou match for null.If selectedObjects or match is null.

Comentários

O primeiro objeto na enumeração que corresponde ao predicado é considerado a seleção principal.The first object in the enumeration that matches the predicate is considered the primary selection.

Aplica-se a