August 2003
Intermediate to advanced
928 pages
32h 1m
English
DefaultMemberAttribute
This attribute allows you to specify
the default member of a
class. It corresponds to the VB.NET Default
keyword. C# does not permit the use of default members as part of the
language, although other .NET languages (most notably VB.NET) do.
public sealed class DefaultMemberAttribute : Attribute {
// Public Constructors
public DefaultMemberAttribute(string memberName);
// Public Instance Properties
public string MemberName{get; }
}
System.Object
→
System.Attribute
→
DefaultMemberAttribute
Class, Struct, Interface