PRIMAVERA | Developers

    Show / Hide Table of Contents

    Class RhpBELinhasCadastroGrupo

    Colecção de itens de um grupo de cadastro.

    Inheritance
    System.Object
    RhpBELinhasCadastroGrupo
    Implements
    System.Collections.Generic.IEnumerable<RhpBELinhaCadastroGrupo>
    System.Collections.IEnumerable
    Namespace: RhpBE100
    Assembly: RhpBE100.dll
    Syntax
    public class RhpBELinhasCadastroGrupo : BindingList<RhpBELinhaCadastroGrupo>, IEnumerable<RhpBELinhaCadastroGrupo>, IEnumerable

    Constructors

    RhpBELinhasCadastroGrupo()

    Initializes a new instance of the RhpBELinhasCadastroGrupo class.

    Declaration
    public RhpBELinhasCadastroGrupo()

    RhpBELinhasCadastroGrupo(IEnumerable<RhpBELinhaCadastroGrupo>)

    Initializes a new instance of the RhpBELinhasCadastroGrupo class.

    Declaration
    public RhpBELinhasCadastroGrupo(IEnumerable<RhpBELinhaCadastroGrupo> items)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<RhpBELinhaCadastroGrupo> items

    The items.

    Properties

    LinhasRemovidas

    Devolve uma lista de linhas removidas.

    Declaration
    public List<RhpBELinhaCadastroGrupo> LinhasRemovidas { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<RhpBELinhaCadastroGrupo>

    The linhas removidas.

    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

    Existe(String)

    Verifica a existência do item com o código especificado.

    Declaration
    public bool Existe(string Codigo)
    Parameters
    Type Name Description
    System.String Codigo

    The codigo.

    Returns
    Type Description
    System.Boolean

    Verdadeiro se encontrado, falso quando não encontrado

    GetEdita(Int32)

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

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

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

    Returns
    Type Description
    RhpBELinhaCadastroGrupo

    Um objecto do tipo RhpBELinhaCadastroGrupo encapsulando o item pretendido.

    IndiceDe(String)

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

    Insere(RhpBELinhaCadastroGrupo)

    Insere um novo item na Colecção.

    Declaration
    public object Insere(RhpBELinhaCadastroGrupo objLinhasCadastroGrupo)
    Parameters
    Type Name Description
    RhpBELinhaCadastroGrupo objLinhasCadastroGrupo

    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.

    RemoveItem(Int32)

    Removes the item at the specified index.

    Declaration
    protected override void RemoveItem(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index of the item to remove.

    RemoveTodos()

    Permite remover todos os itens da colecção.

    Declaration
    public void RemoveTodos()

    Explicit Interface Implementations

    IEnumerable<RhpBELinhaCadastroGrupo>.GetEnumerator()

    Declaration
    IEnumerator<RhpBELinhaCadastroGrupo> IEnumerable<RhpBELinhaCadastroGrupo>.GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<RhpBELinhaCadastroGrupo>

    Implements

    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable