码迷,mamicode.com
首页 >  
搜索关键字:reflection    ( 912个结果
将DataTable转换为List,将List转换为DataTable的实现类
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Linq; using System.Reflection; using Syst... ...
分类:其他好文   时间:2017-09-20 17:57:20    阅读次数:165
如何在android平台上使用js直接调用Java方法[转]
转载自:http://www.cocos.com/docs/html5/v3/reflection/zh.html #如何在android平台上使用js直接调用Java方法 在cocos2d-js 3.0beta中加入了一个新特性,在android平台上我们可以通过反射直接在js中调用java的静态 ...
分类:移动开发   时间:2017-09-18 11:00:19    阅读次数:326
c#反射执行静态方法
发射调用System.Environment.Exit(0)示例: System.Reflection.Assembly ass = System.Reflection.Assembly.LoadFile(AppDomain.CurrentDomain.BaseDirectory+"\\xxx.dl ...
分类:Windows程序   时间:2017-09-15 18:45:35    阅读次数:303
GO语言method、interface、reflection、select
方法method -GO方法虽没有class,依旧有method -通过显示说明receiver来实现与某个类型的组合 -只能为同一个包中的类型定义方法 -RECEIVER可以是类型的值或指针 -不存在方法重载 -可以使用值或指针来调用方法,编译器会自动完成转换 -从某种意义上来说,方法是函数的语法糖,因..
分类:编程语言   时间:2017-09-07 22:55:03    阅读次数:168
.NET反射简单应用———遍历枚举字段
反射(Reflection)是一个非常强大的工具,可以用来查看和遍历类型和类型成员的元数据;动态创建类型实例,动态调用所创建的实例方法、字段、属性;迟绑定方法和属性。此次要介绍的是使用反射查看类型成员信息——遍历枚举。代码如下: Type类是反射的核心,这个类封装了类型的元数据,是进行反射的入口。当 ...
分类:Web程序   时间:2017-09-04 20:42:06    阅读次数:200
C# 学习笔记(一) Winform利用Assembly反射动态创建窗体
1. 添加Reflection 引用 2. 利用Assembly动态创建窗体 ...
分类:Windows程序   时间:2017-09-04 16:00:23    阅读次数:281
C# 中使用 Excel
using System;using System.Collections.Generic;using System.Text;using System.Reflection;using System.Runtime.InteropServices;using Microsoft.Office.In ...
分类:Windows程序   时间:2017-09-02 15:33:50    阅读次数:221
C# 导出数据到Excel模板中(转)
今天做报表的时候遇到了多表头的问题,而且相应的报表的格式都一样。所以就采用了报表模板的方式来进行。 第一步:在开发的当前项目中引入:Microsoft.Office.Interop.Excel;System.Reflection;命名空间。 第二步:获取要导出的数据; 第三步:创建一个Excel 应 ...
分类:Windows程序   时间:2017-08-29 14:30:18    阅读次数:243
C# 导出Excel的示例(转)
using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Windows.Forms; using System.Reflection; namespace D... ...
分类:Windows程序   时间:2017-08-29 13:02:16    阅读次数:231
反射简单调用
1 class Program 2 { 3 static void Main(string[] args) 4 { 5 string path = @"J:\beforesoft\Test\NET.Reflection\bin\Debug\NET.Reflection.dll"; 6 Assem..... ...
分类:其他好文   时间:2017-08-29 10:10:57    阅读次数:114
912条   上一页 1 ... 27 28 29 30 31 ... 92 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!