hubiquitus4w8.hapi.hStructures.HResult.GetResultAsInt C# (CSharp) Méthode

GetResultAsInt() public méthode

If the result type is int.
public GetResultAsInt ( ) : int?
Résultat int?
        public int? GetResultAsInt()
        {
            int? result = null;
            try
            {
                result = this["result"].ToObject<int>();
            }
            catch (Exception e)
            {
                Debug.WriteLine("{0} : Can not fetch the result attribute", e.ToString());
            }
            return result;
        }