예제 #1
0
 private static unsafe int Do_Abi_get_Type_3(IntPtr thisPtr, global::ABI.System.Type *value)
 {
     global::System.Type __value = default;
     try
     {
         __value = global::WinRT.ComWrappersSupport.FindObject <object>(thisPtr).GetType();
         *value = global::ABI.System.Type.FromManaged(__value);
     }
     catch (Exception __exception__)
     {
         global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__);
         return(global::WinRT.ExceptionHelpers.GetHRForException(__exception__));
     }
     return(0);
 }
예제 #2
0
            private static unsafe int Do_Abi_get_Type_0(IntPtr thisPtr, global::ABI.System.Type *value)
            {
                global::System.Type __value = default;

                try
                {
                    __value = global::WinRT.ComWrappersSupport.FindObject <global::Microsoft.UI.Xaml.Data.ICustomProperty>(thisPtr).Type;
                    *value = global::ABI.System.Type.FromManaged(__value);
                }
                catch (Exception __exception__)
                {
                    global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__);
                    return(global::WinRT.ExceptionHelpers.GetHRForException(__exception__));
                }
                return(0);
            }