TypeExtensions.GetProperty Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
GetProperty(Type, String) | |
GetProperty(Type, String, BindingFlags) | |
GetProperty(Type, String, Type) | |
GetProperty(Type, String, Type, Type[]) |
GetProperty(Type, String)
- Origine:
- TypeExtensions.cs
- Origine:
- TypeExtensions.cs
- Origine:
- 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
Parametri
- type
- Type
- name
- String
Restituisce
Si applica a
GetProperty(Type, String, BindingFlags)
- Origine:
- TypeExtensions.cs
- Origine:
- TypeExtensions.cs
- Origine:
- 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
Parametri
- type
- Type
- name
- String
- bindingAttr
- BindingFlags
Restituisce
Si applica a
GetProperty(Type, String, Type)
- Origine:
- TypeExtensions.cs
- Origine:
- TypeExtensions.cs
- Origine:
- 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
Parametri
- type
- Type
- name
- String
- returnType
- Type
Restituisce
Si applica a
GetProperty(Type, String, Type, Type[])
- Origine:
- TypeExtensions.cs
- Origine:
- TypeExtensions.cs
- Origine:
- 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
Parametri
- type
- Type
- name
- String
- returnType
- Type
- types
- Type[]
Restituisce
Si applica a
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.