Compartir a través de


DefaultMemberAttribute Class

Defines the member of a type that is the default member used by the System.Type.InvokeMember method.

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)

Syntax

[AttributeUsageAttribute]
[SerializableAttribute]
public sealed class DefaultMemberAttribute : Attribute

Remarks

The default member is a name given to a particular type.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

DefaultMemberAttribute Members
System.Reflection Namespace