PRIMAVERA | Developers

    Show / Hide Table of Contents

    Class RhpBEAusenciaComplementos

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

    Constructors

    RhpBEAusenciaComplementos()

    Declaration
    public RhpBEAusenciaComplementos()

    RhpBEAusenciaComplementos(IEnumerable<RhpBEAusenciaComplemento>)

    Declaration
    public RhpBEAusenciaComplementos(IEnumerable<RhpBEAusenciaComplemento> items)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<RhpBEAusenciaComplemento> 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, Int32)

    Declaration
    public bool Existe(string Ausencia, int nDiasInicial)
    Parameters
    Type Name Description
    System.String Ausencia
    System.Int32 nDiasInicial
    Returns
    Type Description
    System.Boolean

    Finalize()

    Declaration
    protected void Finalize()

    GetEdita(Int32)

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

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

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

    Returns
    Type Description
    RhpBEAusenciaComplemento

    Um objecto do tipo RhpBEAusenciaComplemento encapsulando o item pretendido.

    GetEnumerator()

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

    IndiceDe(String, Int32)

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

    Insere(RhpBEAusenciaComplemento)

    Insere um novo item na Colecção.

    Declaration
    public dynamic Insere(RhpBEAusenciaComplemento objAusenciaComplemento)
    Parameters
    Type Name Description
    RhpBEAusenciaComplemento objAusenciaComplemento

    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