PRIMAVERA | Developers

    Show / Hide Table of Contents

    Class RhpBEAcidentesTrabalhoFunc

    Colecção de funcionários de um acidente de trabalho.

    Inheritance
    System.Object
    RhpBEAcidentesTrabalhoFunc
    Implements
    System.Collections.Generic.IEnumerable<RhpBEAcidenteTrabalhoFunc>
    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 RhpBEAcidentesTrabalhoFunc : IEnumerable<RhpBEAcidenteTrabalhoFunc>, IEnumerable

    Constructors

    RhpBEAcidentesTrabalhoFunc()

    Declaration
    public RhpBEAcidentesTrabalhoFunc()

    RhpBEAcidentesTrabalhoFunc(IEnumerable<RhpBEAcidenteTrabalhoFunc>)

    Declaration
    public RhpBEAcidentesTrabalhoFunc(IEnumerable<RhpBEAcidenteTrabalhoFunc> items)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<RhpBEAcidenteTrabalhoFunc> 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 Funcionario)
    Parameters
    Type Name Description
    System.String Funcionario
    Returns
    Type Description
    System.Boolean

    Finalize()

    Declaration
    protected void Finalize()

    GetEdita(Int32)

    Permite editar para um objecto RhpBEAcidenteTrabalhoFunc a linha identificada pelo Index.

    Declaration
    public RhpBEAcidenteTrabalhoFunc GetEdita(int Index)
    Parameters
    Type Name Description
    System.Int32 Index

    Indice na colecção do item que se pretende editar.

    Returns
    Type Description
    RhpBEAcidenteTrabalhoFunc

    Um objecto do tipo RhpBEAcidenteTrabalhoFunc encapsulando o item pretendido.

    GetEnumerator()

    Declaration
    public IEnumerator GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    IndiceDe(String)

    Declaration
    public int IndiceDe(string Funcionario)
    Parameters
    Type Name Description
    System.String Funcionario
    Returns
    Type Description
    System.Int32

    Insere(RhpBEAcidenteTrabalhoFunc)

    Insere um novo item na Colecção.

    Declaration
    public dynamic Insere(RhpBEAcidenteTrabalhoFunc objAcidenteTrabalhoFunc)
    Parameters
    Type Name Description
    RhpBEAcidenteTrabalhoFunc objAcidenteTrabalhoFunc

    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