Mono Class Library: System.Reflection Namespace

System.Reflection.DefaultMemberAttribute Class

Defines the member that is invoked when no member name is specified for the type targeted by System.Reflection.DefaultMemberAttribute . [Edit]

See Also: DefaultMemberAttribute Members

System.Object
     System.Attribute
          System.Reflection.DefaultMemberAttribute

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct | System.AttributeTargets.Interface | System.AttributeTargets.All)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class DefaultMemberAttribute : Attribute

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

Note:

This attribute is used by the Type.InvokeMember(string, BindingFlags, Binder, object, Object[], ParameterModifier[], System.Globalization.CultureInfo, String[]) methods.

This attribute can be applied to classes, structs, and interfaces.

[Edit]

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0