PRIMAVERA | Developers

    Show / Hide Table of Contents

    Class RhpBECentrosCustoEnt

    Colecção de centros de custo que constituem a chave de repartição de um funcionário.

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

    Constructors

    RhpBECentrosCustoEnt()

    Declaration
    public RhpBECentrosCustoEnt()

    RhpBECentrosCustoEnt(IEnumerable<RhpBECentroCustoEnt>)

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

    Finalize()

    Declaration
    protected void Finalize()

    GetEdita(Int32)

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

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

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

    Returns
    Type Description
    RhpBECentroCustoEnt

    Um objecto do tipo RhpBECentroCustoEnt encapsulando o item pretendido.

    GetEnumerator()

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

    IndiceDe(String)

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

    Insere(RhpBECentroCustoEnt)

    Insere um novo item na Colecção.

    Declaration
    public dynamic Insere(RhpBECentroCustoEnt ObjCentroCustoFunc)
    Parameters
    Type Name Description
    RhpBECentroCustoEnt ObjCentroCustoFunc

    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