Share via


PropertyType Property

[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

See Also

Reference

PropertyInfo Class

System.Reflection Namespace