Selection Construtores
Definição
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()
Selection(ModelItem[])
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>)
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)
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>)
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.
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>)
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.
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.