Member group
GetGetMethod
Declaring type: PropertyInfo
Module: System.Introspection
Assembly: System.Runtime.dll
Source file: Descriptors.rvn
Overloads / Variants
GetGetMethod
abstract virtual func GetGetMethod() -> Optional<MethodInfo>
Source file: Descriptors.rvn
Defined by PropertyInfo.GetGetMethod · Required implementation (no default).
Interface implementation: Required implementation (no default).
Gets the property getter when public.
Return value
Some containing the accessor, or None when absent or excluded by visibility.
GetGetMethod
abstract virtual func GetGetMethod(arg0: bool) -> Optional<MethodInfo>
Source file: Descriptors.rvn
Defined by PropertyInfo.GetGetMethod · Required implementation (no default).
Interface implementation: Required implementation (no default).
Gets the property getter 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.