PropertyBuilder.Module 属性

定义

获取在其中定义了特定类型的模块,该类型即为声明当前属性的类型。Gets the module in which the type that declares the current property is being defined.

public:
 virtual property System::Reflection::Module ^ Module { System::Reflection::Module ^ get(); };
public override System.Reflection.Module Module { get; }
member this.Module : System.Reflection.Module
Public Overrides ReadOnly Property Module As Module

属性值

Module

Module,在该模块中定义了声明当前属性的类型。The Module in which the type that declares the current property is defined.

注解

提供此属性是为了为用户提供方便。This property is provided as a convenience for the user. 它等效于使用 DeclaringType 属性获取在其中声明属性的类型,然后调用 Module 所生成对象的属性 TypeIt is equivalent to using the DeclaringType property to get the type in which the property is declared, and then calling the Module property of the resulting Type object.

适用于

另请参阅