Class StpBEPlanosIntervencao
Classe que identifica uma colecção de linhas do plano de intervenções associados a um objecto do contrato.
Implements
System.Collections.Generic.IEnumerable<StpBEPlanoIntervencao>
System.Collections.IEnumerable
Inherited Members
Namespace: StpBE100
Assembly: StpBE100.dll
Syntax
public class StpBEPlanosIntervencao : StpBaseBE, IEnumerable<StpBEPlanoIntervencao>, IEnumerable
Constructors
StpBEPlanosIntervencao()
creates the collection when this class is created
Declaration
public StpBEPlanosIntervencao()
StpBEPlanosIntervencao(IEnumerable<StpBEPlanoIntervencao>)
Declaration
public StpBEPlanosIntervencao(IEnumerable<StpBEPlanoIntervencao> items)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<StpBEPlanoIntervencao> | items |
Properties
NumItens
Devolve o número de items.
Declaration
public int NumItens { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Removidas
Colecção de linhas removidas.
Declaration
public StpBELinhasChaves Removidas { get; set; }
Property Value
| Type | Description |
|---|---|
| StpBELinhasChaves |
Methods
Finalize()
destroys collection when this class is terminated
Declaration
protected override void Finalize()
GetEdita(Int32)
Edita uma Linha na Colecção de Linhas de Utilizador.
Declaration
public StpBEPlanoIntervencao GetEdita(int Index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | Index |
Returns
| Type | Description |
|---|---|
| StpBEPlanoIntervencao |
GetEnumerator()
Declaration
public IEnumerator GetEnumerator()
Returns
| Type | Description |
|---|---|
| System.Collections.IEnumerator |
Insere(StpBEPlanoIntervencao)
Insere uma Linha na Colecção de Linhas.
Declaration
public dynamic Insere(StpBEPlanoIntervencao objPlanoInterv)
Parameters
| Type | Name | Description |
|---|---|---|
| StpBEPlanoIntervencao | objPlanoInterv |
Returns
| Type | Description |
|---|---|
| System.Object |
InsereNaPosicao(StpBEPlanoIntervencao, ref Int32)
Insere uma Linha na Colecção de Linhas na posição indicada.
Declaration
public void InsereNaPosicao(StpBEPlanoIntervencao objPlanoInterv, ref int Posicao)
Parameters
| Type | Name | Description |
|---|---|---|
| StpBEPlanoIntervencao | objPlanoInterv | |
| System.Int32 | Posicao |
Remove(Int32)
Remove uma linha.
Declaration
public void Remove(int Index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | Index |
RemoveTodos()
Remove todos os items da colecção
Declaration
public void RemoveTodos()
Explicit Interface Implementations
IEnumerable<StpBEPlanoIntervencao>.GetEnumerator()
Declaration
IEnumerator<StpBEPlanoIntervencao> IEnumerable<StpBEPlanoIntervencao>.GetEnumerator()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerator<StpBEPlanoIntervencao> |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable