Gurux.DLMS.Objects.GXDLMSRegisterActivation.GetDataType C# (CSharp) Méthode

GetDataType() public méthode

public GetDataType ( int index ) : DataType
index int
Résultat DataType
        public override DataType GetDataType(int index)
        {
            if (index == 1)
            {
                return DataType.OctetString;
            }
            if (index == 2)
            {
                return DataType.Array;
            }
            if (index == 3)
            {
                return DataType.Array;
            }
            if (index == 4)
            {
                return DataType.OctetString;
            }
            throw new ArgumentException("GetDataType failed. Invalid attribute index.");
        }