代码搜索结果
找到约 10,000 项符合
Assembly 的代码
assemblyinfo.vb
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices
' 程序集的常规信息通过下列
' 属性集控制。更改这些属性值可
' 修改与程序集关联的信息。
' 检查程序集的属性值
assemblyinfo.vb
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices
' 程序集的常规信息通过下列
' 属性集控制。更改这些属性值可
' 修改与程序集关联的信息。
' 检查程序集的属性值
assemblyinfo.vb
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices
' 程序集的常规信息通过下列
' 属性集控制。更改这些属性值可
' 修改与程序集关联的信息。
' 检查程序集的属性值
访问限定符和预定义特性.txt
访问限定符指出了哪些类型和成员可以被其他的代码合法地引用.
CLR(6种) C#/VB(5种)
-----------------------
Private private/Private 私有
Public pubic/Public 公有
Family protected/Protected 保护
Assembly Internal/Frien
反射(动态加载程序集).txt
System.Reflection.Assembly.Load 动态加载程序集
System.Reflection.Assembly.LoadFrom 可能需要
不推荐
System.Reflection.Assembly.LoadWithPartialName
System.AppDomain.Load
示例1:
Assembly assem=Assem
反射程序中的类型(重要).txt
类型成员:由MemberInfo定义,它包括字段、构造器、方法、属性、事件、卡套类型。
GetMembers 返回类型中的所有成员。
//只有公有成员才被显示出来
using System;
using System.Reflection;
namespace TestReflector
{
//演示类型
class SomeType
{
publ
反射应用程序域.txt
基于 反射程类型.txt
MSCorLib.dll 1400个类型
static void Main(string[] args)
{
foreach(Assembly assem in AppDomain.CurrentDomain.GetAssemblies())//得到当前应用程序域中程序集
{
Reflector.RefectOnAssembly
页指令.txt
1.@Page,ASPX文件定义一般的属性和编译设置
例如:指定所有角本的默认语言,及调试选项
2.@Import导入一个名称空间
assemblyinfo.cs
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过下列属性集
// 控制。更改这些属性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("TestZYBSock
assemblyinfo.cs
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过下列属性集
// 控制。更改这些属性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ZYBSocket")