Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Type extension

PropertyReflectionExtensions

extension PropertyReflectionExtensions for PropertyInfo

Module: System.Runtime.Reflection
Assembly: System.Runtime.dll

Checked execution of public instance property accessors.

Receiver

PropertyInfo

Remarks

Development API. Import System.Runtime.Reflection to use these extensions.

Methods

2 items
Extension member: GetValue(receiver: object?) -> Result<object?, ReflectionError> Invokes a public nonindexed instance getter. Extension from PropertyReflectionExtensions.GetValue
Extension member: SetValue(receiver: object?, value: object?) -> Result<void, ReflectionError> Invokes a public nonindexed instance setter. Extension from PropertyReflectionExtensions.SetValue