Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the type of this property.
Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property PropertyType As Type
public abstract Type PropertyType { get; }
public:
virtual property Type^ PropertyType {
Type^ get () abstract;
}
abstract PropertyType : Type with get
abstract function get PropertyType () : Type
Property Value
Type: System. . :: . .Type
The type of this property.
Remarks
The Type is String, Boolean, Int32, and so on.
To get the PropertyType property, first get the class Type. From the Type, get the PropertyInfo. From the PropertyInfo, get the PropertyType value.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.