IExpando Interfaccia
Definizione
Consente di modificare gli oggetti aggiungendo e rimuovendo membri, rappresentati da oggetti MemberInfo.Enables modification of objects by adding and removing members, represented by MemberInfo objects.
public interface class IExpando : System::Reflection::IReflect
[System.Runtime.InteropServices.Guid("AFBF15E6-C37C-11d2-B88E-00A0C9B471B8")]
public interface IExpando : System.Reflection.IReflect
[System.Runtime.InteropServices.Guid("AFBF15E6-C37C-11d2-B88E-00A0C9B471B8")]
[System.Runtime.InteropServices.ComVisible(true)]
public interface IExpando : System.Reflection.IReflect
[<System.Runtime.InteropServices.Guid("AFBF15E6-C37C-11d2-B88E-00A0C9B471B8")>]
type IExpando = interface
interface IReflect
[<System.Runtime.InteropServices.Guid("AFBF15E6-C37C-11d2-B88E-00A0C9B471B8")>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type IExpando = interface
interface IReflect
Public Interface IExpando
Implements IReflect
- Derivato
- Attributi
- Implementazioni
Proprietà
UnderlyingSystemType |
Ottiene il tipo sottostante che rappresenta l'oggetto IReflect.Gets the underlying type that represents the IReflect object. (Ereditato da IReflect) |
Metodi
AddField(String) |
Aggiunge il campo denominato all'oggetto Reflection.Adds the named field to the Reflection object. |
AddMethod(String, Delegate) |
Aggiunge il metodo denominato all'oggetto Reflection.Adds the named method to the Reflection object. |
AddProperty(String) |
Aggiunge la proprietà denominata all'oggetto Reflection.Adds the named property to the Reflection object. |
GetField(String, BindingFlags) |
Restituisce l'oggetto FieldInfo corrispondente al campo e al flag di associazione specificati.Returns the FieldInfo object that corresponds to the specified field and binding flag. (Ereditato da IReflect) |
GetFields(BindingFlags) |
Restituisce una matrice di oggetti FieldInfo corrispondenti a tutti i campi della classe corrente.Returns an array of FieldInfo objects that correspond to all fields of the current class. (Ereditato da IReflect) |
GetMember(String, BindingFlags) |
Recupera una matrice di oggetti MemberInfo corrispondenti a tutti i membri pubblici o a tutti i membri che corrispondono a un nome specificato.Retrieves an array of MemberInfo objects corresponding to all public members or to all members that match a specified name. (Ereditato da IReflect) |
GetMembers(BindingFlags) |
Recupera una matrice di oggetti MemberInfo corrispondenti a tutti i membri pubblici o a tutti i membri della classe corrente.Retrieves an array of MemberInfo objects that correspond either to all public members or to all members of the current class. (Ereditato da IReflect) |
GetMethod(String, BindingFlags) |
Recupera un oggetto MethodInfo corrispondente a un metodo specificato in base ai vincoli di ricerca specificati.Retrieves a MethodInfo object that corresponds to a specified method under specified search constraints. (Ereditato da IReflect) |
GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[]) |
Recupera un oggetto MethodInfo corrispondente a un metodo specificato, utilizzando una matrice Type per scegliere uno dei metodi di overload.Retrieves a MethodInfo object corresponding to a specified method, using a Type array to choose from among overloaded methods. (Ereditato da IReflect) |
GetMethods(BindingFlags) |
Recupera una matrice di oggetti MethodInfo con tutti i metodi pubblici o tutti i metodi della classe corrente.Retrieves an array of MethodInfo objects with all public methods or all methods of the current class. (Ereditato da IReflect) |
GetProperties(BindingFlags) |
Recupera una matrice di oggetti PropertyInfo corrispondenti a tutte le proprietà pubbliche o a tutte le proprietà della classe corrente.Retrieves an array of PropertyInfo objects corresponding to all public properties or to all properties of the current class. (Ereditato da IReflect) |
GetProperty(String, BindingFlags) |
Recupera un oggetto PropertyInfo corrispondente a una proprietà definita in base ai vincoli di ricerca specificati.Retrieves a PropertyInfo object corresponding to a specified property under specified search constraints. (Ereditato da IReflect) |
GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[]) |
Recupera un oggetto PropertyInfo corrispondente a una proprietà specificata in base ai vincoli di ricerca specificati.Retrieves a PropertyInfo object that corresponds to a specified property with specified search constraints. (Ereditato da IReflect) |
InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]) |
Richiama un membro specificato.Invokes a specified member. (Ereditato da IReflect) |
RemoveMember(MemberInfo) |
Rimuove il membro specificato.Removes the specified member. |