Lire en anglais

Partager via


PropertyInfoExtensions.GetAccessors Méthode

Définition

Surcharges

GetAccessors(PropertyInfo)

Source:
TypeExtensions.cs
Source:
TypeExtensions.cs
Source:
TypeExtensions.cs
C#
public static System.Reflection.MethodInfo[] GetAccessors (this System.Reflection.PropertyInfo property);

Paramètres

property
PropertyInfo

Retours

S’applique à

.NET 9 et autres versions
Produit Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
UWP 10.0

GetAccessors(PropertyInfo, Boolean)

Source:
TypeExtensions.cs
Source:
TypeExtensions.cs
Source:
TypeExtensions.cs
C#
public static System.Reflection.MethodInfo[] GetAccessors (this System.Reflection.PropertyInfo property, bool nonPublic);

Paramètres

property
PropertyInfo
nonPublic
Boolean

Retours

S’applique à

.NET 9 et autres versions
Produit Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
UWP 10.0