TypeExtensions.GetProperty Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
GetProperty(Type, String) | |
GetProperty(Type, String, BindingFlags) | |
GetProperty(Type, String, Type) | |
GetProperty(Type, String, Type, Type[]) |
GetProperty(Type, String)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
static System::Reflection::PropertyInfo ^ GetProperty(Type ^ type, System::String ^ name);
public static System.Reflection.PropertyInfo GetProperty (Type type, string name);
static member GetProperty : Type * string -> System.Reflection.PropertyInfo
Public Shared Function GetProperty (type As Type, name As String) As PropertyInfo
Parámetros
- type
- Type
- name
- String
Devoluciones
Se aplica a
GetProperty(Type, String, BindingFlags)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
static System::Reflection::PropertyInfo ^ GetProperty(Type ^ type, System::String ^ name, System::Reflection::BindingFlags bindingAttr);
public static System.Reflection.PropertyInfo GetProperty (Type type, string name, System.Reflection.BindingFlags bindingAttr);
static member GetProperty : Type * string * System.Reflection.BindingFlags -> System.Reflection.PropertyInfo
Public Shared Function GetProperty (type As Type, name As String, bindingAttr As BindingFlags) As PropertyInfo
Parámetros
- type
- Type
- name
- String
- bindingAttr
- BindingFlags
Devoluciones
Se aplica a
GetProperty(Type, String, Type)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::PropertyInfo ^ GetProperty(Type ^ type, System::String ^ name, Type ^ returnType);
public static System.Reflection.PropertyInfo GetProperty (this Type type, string name, Type returnType);
public static System.Reflection.PropertyInfo? GetProperty (this Type type, string name, Type? returnType);
static member GetProperty : Type * string * Type -> System.Reflection.PropertyInfo
<Extension()>
Public Function GetProperty (type As Type, name As String, returnType As Type) As PropertyInfo
Parámetros
- type
- Type
- name
- String
- returnType
- Type
Devoluciones
Se aplica a
GetProperty(Type, String, Type, Type[])
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::PropertyInfo ^ GetProperty(Type ^ type, System::String ^ name, Type ^ returnType, cli::array <Type ^> ^ types);
public static System.Reflection.PropertyInfo GetProperty (this Type type, string name, Type returnType, Type[] types);
public static System.Reflection.PropertyInfo? GetProperty (this Type type, string name, Type? returnType, Type[] types);
static member GetProperty : Type * string * Type * Type[] -> System.Reflection.PropertyInfo
<Extension()>
Public Function GetProperty (type As Type, name As String, returnType As Type, types As Type()) As PropertyInfo
Parámetros
- type
- Type
- name
- String
- returnType
- Type
- types
- Type[]
Devoluciones
Se aplica a
Col·laboreu amb nosaltres a GitHub
La font d'aquest contingut es pot trobar al GitHub, on també podeu crear i revisar problemes i sol·licituds d'extracció. Per obtenir més informació, consulteu la nostra guia per a col·laboradors.