PRIMAVERA | Developers

    Show / Hide Table of Contents

    Class StdBEPrefSeccao

    Secção de preferências.

    Inheritance
    System.Object
    StdBE
    StdBaseBE
    StdBEPrefSeccao
    Implements
    StdBE100.IStdBEPrefSeccao
    Inherited Members
    StdBE.SerializeJson()
    StdBE.SerializeJson(List<String>)
    StdBE.ParseJsonText(String, List<String>)
    StdBE.SerializeJsonToXml(String, List<String>)
    StdBE.SerializeXml(XmlAttributeOverrides, XmlSerializerNamespaces)
    StdBE.Clone()
    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: StdBE100
    Assembly: StdBE100.dll
    Syntax
    [ComVisible(true)]
    [Guid("F8E6C52C-6D49-4C3B-BEC8-CF3EE9ED8842")]
    [ClassInterface(ClassInterfaceType.None)]
    public class StdBEPrefSeccao : StdBaseBE, IStdBEPrefSeccao

    Constructors

    StdBEPrefSeccao()

    Create new instance of StdBEPrefSeccao.

    Declaration
    public StdBEPrefSeccao()

    Properties

    Apl

    Abreviatura da aplicação.

    Declaration
    public string Apl { get; set; }
    Property Value
    Type Description
    System.String

    ChaveLog

    Chave do Log.

    Declaration
    public string ChaveLog { get; }
    Property Value
    Type Description
    System.String

    CodigoTabLog

    Código de tabela de log.

    Declaration
    public string CodigoTabLog { get; }
    Property Value
    Type Description
    System.String

    Empresa

    Identificador da empresa.

    Declaration
    public string Empresa { get; set; }
    Property Value
    Type Description
    System.String

    Seccao

    Identificador da secção.

    Declaration
    public string Seccao { get; set; }
    Property Value
    Type Description
    System.String

    Tipo

    Tipo de secção.

    Declaration
    public StdBETipos.EnumTipoPreferencia Tipo { get; set; }
    Property Value
    Type Description
    StdBETipos.EnumTipoPreferencia

    Utilizador

    Identificador do utilizador.

    Declaration
    public string Utilizador { get; set; }
    Property Value
    Type Description
    System.String

    XML

    Código XML correspondente à definição completa da secção.

    Declaration
    public string XML { get; }
    Property Value
    Type Description
    System.String

    Methods

    ActualizaAtributoInteger(String, Int32)

    Actualiza um valor do tipo "integer" na secção.

    Declaration
    public void ActualizaAtributoInteger(string strAtributo, int intValor)
    Parameters
    Type Name Description
    System.String strAtributo

    Nome do atríbuto.

    System.Int32 intValor

    Valor.

    ActualizaAtributoSingle(String, Single)

    Actualiza um valor do tipo "single" na secção.

    Declaration
    public void ActualizaAtributoSingle(string strAtributo, float sngValor)
    Parameters
    Type Name Description
    System.String strAtributo

    Nome do atríbuto.

    System.Single sngValor

    Valor.

    ActualizaAtributoString(String, String)

    Actualiza um valor do tipo "string" na secção.

    Declaration
    public void ActualizaAtributoString(string strAtributo, string strValor)
    Parameters
    Type Name Description
    System.String strAtributo

    Nome do atríbuto.

    System.String strValor

    Valor.

    EditaAtributoInteger(String, Int32)

    Devolve um valor do tipo "integer" da secção.

    Declaration
    public int EditaAtributoInteger(string strAtributo, int intValDefeito)
    Parameters
    Type Name Description
    System.String strAtributo

    Nome do atríbuto.

    System.Int32 intValDefeito

    Valor por defeito.

    Returns
    Type Description
    System.Int32

    EditaAtributoSingle(String, Single)

    Devolve um valor do tipo "single" da secção.

    Declaration
    public float EditaAtributoSingle(string strAtributo, float sngValDefeito)
    Parameters
    Type Name Description
    System.String strAtributo

    Nome do atríbuto.

    System.Single sngValDefeito

    Valor por defeito.

    Returns
    Type Description
    System.Single

    EditaAtributoString(String, String)

    Devolve um valor do tipo "integer" da secção.

    Declaration
    public string EditaAtributoString(string strAtributo, string strValDefeito)
    Parameters
    Type Name Description
    System.String strAtributo

    Nome do atríbuto.

    System.String strValDefeito

    Valor por defeito.

    Returns
    Type Description
    System.String

    SetXML(String)

    Actualização do valor XML correspondente à definição completa da secção.

    Declaration
    public void SetXML(string strXML)
    Parameters
    Type Name Description
    System.String strXML

    Valor XML.

    Implements

    StdBE100.IStdBEPrefSeccao