ExcelDna.Loader.XlParameterInfo.SetTypeInfo C# (CSharp) Method

SetTypeInfo() public method

public SetTypeInfo ( Type type, bool isReturnType, bool isExceptionSafe ) : void
type System.Type
isReturnType bool
isExceptionSafe bool
return void
        public void SetTypeInfo(Type type, bool isReturnType, bool isExceptionSafe)
        {
            if ((XlAddIn.XlCallVersion < 12)
            #if DEBUG // on debug-32bit we want to keep exercising the Excel4 APIs
                || (IntPtr.Size == 4)
            #endif
            )
            {
                SetTypeInfo4(type, isReturnType, isExceptionSafe);
            }
            else
            {
                SetTypeInfo12(type, isReturnType, isExceptionSafe);
            }
        }