AssemblyInfo.cs文件:包含程序版本、信息、版权的属性文件先介绍AssemblyInfo.cs文件中的程序集属性内容:using System.Reflection; using System.Runtime.CompilerServices;[assembly: AssemblyTit...
分类:
其他好文 时间:
2014-08-05 14:00:59
阅读次数:
242
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Reflection;using System.ComponentModel;namespace Consol...
分类:
其他好文 时间:
2014-07-30 20:20:34
阅读次数:
241
005.为程序设置版本和帮助信息效果图:1.新建Windows窗体应用程序WindowsFormsApplication12.找到AssemblyInfo.cs文件,编辑下就可以了using System.Reflection;using System.Runtime.CompilerService...
分类:
其他好文 时间:
2014-07-29 11:19:06
阅读次数:
229
Reflection是Java 程序开发语言的特征之中的一个,它同意执行中的 Java 程序对自身进行检查,或者说"自审",并能直接操作程序的内部属性。比如,使用它能获得 Java 类中各成员的名称并显示出来。 Java 的这一能力在实际应用中或许用得不是非常多,可是在其他的程序设计语言中根本就不存...
分类:
编程语言 时间:
2014-07-26 00:48:36
阅读次数:
398
C# wpf程序获取当前程序版本号
///
/// 获取当前系统的版本号
///
///
public static string GetEdition()
{
return System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToStri...
分类:
其他好文 时间:
2014-07-25 11:06:01
阅读次数:
741
using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Reflection; name...
分类:
其他好文 时间:
2014-07-24 22:21:22
阅读次数:
206
atitit.java给属性赋值方法总结and BeanUtils 1.6.1 .copyProperty的bug
1. core.setProperty(o, "materialId", null); 1
2. Java Reflection (JAVA反射) 1
3. 反射的用处 2
4. Java类反射中所必须的类: 2
BeanUtils.copyProperty 2
5...
分类:
编程语言 时间:
2014-07-23 13:36:36
阅读次数:
390
反射,reflection,听其名就像照镜子一样,可以看见自己也可以看见别人的每一部分。在java语言中这是一个很重要的特性。下面是来自sun公司官网关于反射的介绍:Reflection is a feature in the Java programming language. It allows...
分类:
编程语言 时间:
2014-07-23 12:09:06
阅读次数:
301
Excel.Application myExcel = new Excel.Application();object missing = System.Reflection.Missing.Value;myExcel.Application.Workbooks.Open(this.txtFile.T...
分类:
其他好文 时间:
2014-07-22 08:04:35
阅读次数:
225
导出到txt[void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server") [void][System.Reflection.Assembly]::LoadWithParti...
分类:
其他好文 时间:
2014-07-17 21:37:20
阅读次数:
454