跳至主要内容 跳到页内导航 跳到 Ask Learn 聊天体验

此浏览器不再受支持。

请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。

下载 Microsoft Edge 有关 Internet Explorer 和 Microsoft Edge 的详细信息
使用英语阅读 编辑

注意

访问此页面需要授权。 可以尝试登录或更改目录。

访问此页面需要授权。 可以尝试更改目录。

TypeExtensions Class

Definition

Namespace:
System.Reflection
Assembly:
System.Reflection.TypeExtensions.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

public ref class TypeExtensions abstract sealed
public static class TypeExtensions
type TypeExtensions = class
Public Module TypeExtensions
Inheritance
Object
TypeExtensions

Methods

Name Description
GetConstructor(Type, Type[])
GetConstructors(Type, BindingFlags)
GetConstructors(Type)
GetDefaultMembers(Type)
GetEvent(Type, String, BindingFlags)
GetEvent(Type, String)
GetEvents(Type, BindingFlags)
GetEvents(Type)
GetField(Type, String, BindingFlags)
GetField(Type, String)
GetFields(Type, BindingFlags)
GetFields(Type)
GetGenericArguments(Type)
GetInterfaces(Type)
GetMember(Type, String, BindingFlags)
GetMember(Type, String)
GetMembers(Type, BindingFlags)
GetMembers(Type)
GetMethod(Type, String, BindingFlags)
GetMethod(Type, String, Type[])
GetMethod(Type, String)
GetMethods(Type, BindingFlags)
GetMethods(Type)
GetNestedType(Type, String, BindingFlags)
GetNestedTypes(Type, BindingFlags)
GetProperties(Type, BindingFlags)
GetProperties(Type)
GetProperty(Type, String, BindingFlags)
GetProperty(Type, String, Type, Type[])
GetProperty(Type, String, Type)
GetProperty(Type, String)
IsAssignableFrom(Type, Type)
IsInstanceOfType(Type, Object)

Applies to


反馈

此页面是否有帮助?

否

需要有关本主题的帮助?

想要尝试使用 Ask Learn 阐明或指导你完成本主题?

本文内容

此页面是否有帮助?

需要有关本主题的帮助?

想要尝试使用 Ask Learn 阐明或指导你完成本主题?

zh-cn
你的隐私选择
  • AI 免责声明
  • 早期版本
  • 博客
  • 参与
  • 隐私
  • 消费者健康隐私
  • 使用条款
  • 商标
  • © Microsoft 2026