Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IExpando Interface

Enables modification of objects by adding and removing members, represented by MemberInfo objects.

Namespace:  System.Runtime.InteropServices.Expando
Assembly:  mscorlib (in mscorlib.dll)
[ComVisibleAttribute(true)]
[GuidAttribute("AFBF15E6-C37C-11d2-B88E-00A0C9B471B8")]
public interface IExpando : IReflect

The IExpando type exposes the following members.

  NameDescription
Public propertyUnderlyingSystemTypeGets the underlying type that represents the IReflect object. (Inherited from IReflect.)
Top
  NameDescription
Public methodAddFieldAdds the named field to the Reflection object.
Public methodAddMethodAdds the named method to the Reflection object.
Public methodAddPropertyAdds the named property to the Reflection object.
Public methodGetFieldReturns the FieldInfo object that corresponds to the specified field and binding flag. (Inherited from IReflect.)
Public methodGetFieldsReturns an array of FieldInfo objects that correspond to all fields of the current class. (Inherited from IReflect.)
Public methodGetMemberRetrieves an array of MemberInfo objects corresponding to all public members or to all members that match a specified name. (Inherited from IReflect.)
Public methodGetMembersRetrieves an array of MemberInfo objects that correspond either to all public members or to all members of the current class. (Inherited from IReflect.)
Public methodGetMethod(String, BindingFlags)Retrieves a MethodInfo object that corresponds to a specified method under specified search constraints. (Inherited from IReflect.)
Public methodGetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])Retrieves a MethodInfo object corresponding to a specified method, using a Type array to choose from among overloaded methods. (Inherited from IReflect.)
Public methodGetMethodsRetrieves an array of MethodInfo objects with all public methods or all methods of the current class. (Inherited from IReflect.)
Public methodGetPropertiesRetrieves an array of PropertyInfo objects corresponding to all public properties or to all properties of the current class. (Inherited from IReflect.)
Public methodGetProperty(String, BindingFlags)Retrieves a PropertyInfo object corresponding to a specified property under specified search constraints. (Inherited from IReflect.)
Public methodGetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[])Retrieves a PropertyInfo object that corresponds to a specified property with specified search constraints. (Inherited from IReflect.)
Public methodInvokeMemberInvokes a specified member. (Inherited from IReflect.)
Public methodRemoveMemberRemoves the specified member.
Top

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft. All rights reserved.