PRIMAVERA | Developers

    Show / Hide Table of Contents

    Class RhpBEPlanoRenovFunc

    Colecção de linhas para a definição do plano de renovações

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

    Constructors

    RhpBEPlanoRenovFunc()

    Declaration
    public RhpBEPlanoRenovFunc()

    RhpBEPlanoRenovFunc(IEnumerable<RhpBELinhaRenovacaoF>)

    Declaration
    public RhpBEPlanoRenovFunc(IEnumerable<RhpBELinhaRenovacaoF> items)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<RhpBELinhaRenovacaoF> 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

    CriaCopia(RhpBEPlanoRenovFunc)

    Permite criar uma cópia de todos os itens da colecção.

    Declaration
    public void CriaCopia(RhpBEPlanoRenovFunc RhpBEPlanoRFuncOriginal)
    Parameters
    Type Name Description
    RhpBEPlanoRenovFunc RhpBEPlanoRFuncOriginal

    Objecto do tipo RHPBEPlanoRenovFunc a partir do qual será efectuada a cópia.

    Existe(Int32)

    Declaration
    public bool Existe(int IDLinha)
    Parameters
    Type Name Description
    System.Int32 IDLinha
    Returns
    Type Description
    System.Boolean

    Finalize()

    Declaration
    protected void Finalize()

    GetEdita(Int32)

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

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

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

    Returns
    Type Description
    RhpBELinhaRenovacaoF

    Um objecto do tipo RhpBELinhaRenovacaoF encapsulando o item pretendido.

    GetEnumerator()

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

    IndiceDe(String)

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

    Insere(RhpBELinhaRenovacaoF)

    Insere um novo item na Colecção.

    Declaration
    public dynamic Insere(RhpBELinhaRenovacaoF ObjLinhaRenovacaoF)
    Parameters
    Type Name Description
    RhpBELinhaRenovacaoF ObjLinhaRenovacaoF

    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