Member group
GetSetMethod
Declaring type: PropertyInfo
Module: System.Introspection
Assembly: System.Runtime.dll
Source file: Descriptors.rvn
Overloads / Variants
GetSetMethod
abstract virtual func GetSetMethod() -> Optional<MethodInfo>
Source file: Descriptors.rvn
Defined by PropertyInfo.GetSetMethod · Required implementation (no default).
Interface implementation: Required implementation (no default).
Gets the property setter when public.
Return value
Some containing the accessor, or None when absent or excluded by visibility.
GetSetMethod
abstract virtual func GetSetMethod(arg0: bool) -> Optional<MethodInfo>
Source file: Descriptors.rvn
Defined by PropertyInfo.GetSetMethod · Required implementation (no default).
Interface implementation: Required implementation (no default).
Gets the property setter with explicit nonpublic selection.
Parameters
| Name | Type | Description |
|---|---|---|
arg0 |
Boolean | True to include a nonpublic accessor; false to require a public accessor. |
Return value
Some containing the accessor, or None when absent or excluded by visibility.