Class RhpBEAcidentesTrabalhoTerc
Colecção de terceiros de um acidente de trabalho.
Inheritance
System.Object
RhpBEAcidentesTrabalhoTerc
Implements
System.Collections.Generic.IEnumerable<RhpBEAcidenteTrabalhoTerc>
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: RhpBE100
Assembly: RhpBE100.dll
Syntax
public class RhpBEAcidentesTrabalhoTerc : IEnumerable<RhpBEAcidenteTrabalhoTerc>, IEnumerable
Constructors
RhpBEAcidentesTrabalhoTerc()
Declaration
public RhpBEAcidentesTrabalhoTerc()
RhpBEAcidentesTrabalhoTerc(IEnumerable<RhpBEAcidenteTrabalhoTerc>)
Declaration
public RhpBEAcidentesTrabalhoTerc(IEnumerable<RhpBEAcidenteTrabalhoTerc> items)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<RhpBEAcidenteTrabalhoTerc> | items |
Properties
NumItens
Permite verificar quantos itens existem na colecção.
Declaration
public int NumItens { get; }
Property Value
Type | Description |
---|---|
System.Int32 | Um valor do tipo inteiro indicando o número de itens que existem na colecção. |
Methods
Add(Object)
Insere um novo item na colecção.
Declaration
public void Add(object objCampo)
Parameters
Type | Name | Description |
---|---|---|
System.Object | objCampo |
Existe(String)
Declaration
public bool Existe(string Terceiro)
Parameters
Type | Name | Description |
---|---|---|
System.String | Terceiro |
Returns
Type | Description |
---|---|
System.Boolean |
Finalize()
Declaration
protected void Finalize()
GetEdita(Int32)
Permite editar para um objecto RhpBEAcidenteTrabalhoTerc a linha identificada pelo Index.
Declaration
public RhpBEAcidenteTrabalhoTerc GetEdita(int Index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | Index | Indice na colecção do item que se pretende editar. |
Returns
Type | Description |
---|---|
RhpBEAcidenteTrabalhoTerc | Um objecto do tipo RhpBEAcidenteTrabalhoTerc encapsulando o item pretendido. |
GetEnumerator()
Declaration
public IEnumerator GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
IndiceDe(String)
Declaration
public int IndiceDe(string Terceiro)
Parameters
Type | Name | Description |
---|---|---|
System.String | Terceiro |
Returns
Type | Description |
---|---|
System.Int32 |
Insere(RhpBEAcidenteTrabalhoTerc)
Insere um novo item na Colecção.
Declaration
public dynamic Insere(RhpBEAcidenteTrabalhoTerc objAcidenteTrabalhoTerc)
Parameters
Type | Name | Description |
---|---|---|
RhpBEAcidenteTrabalhoTerc | objAcidenteTrabalhoTerc | Objecto que contem o item que se pretende inserir. |
Returns
Type | Description |
---|---|
System.Object |
Remove(Int32)
Permite remover um item da colecção.
Declaration
public void Remove(int Index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | Index | indicação do item da colecção a remover. |
RemoveTodos()
Permite remover todos os itens da colecção.
Declaration
public void RemoveTodos()
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable