System.Reflection.DefaultMemberAttribute

E697553

System.Reflection.DefaultMemberAttribute is a .NET attribute used to designate the default member (such as an indexer or property) of a class or type for reflection and language binding purposes.

All labels observed (1)

Label Occurrences
System.Reflection.DefaultMemberAttribute canonical 2

How this entity was disambiguated

Statements (47)

Predicate Object
instanceOf .NET class ⓘ
System.Attribute subclass ⓘ
attribute class ⓘ
appliesTo class ⓘ
interface ⓘ
struct ⓘ
assembly System.Runtime ⓘ
mscorlib ⓘ
linked to: mscorlib.dll
attributeUsage AllowMultiple = false ⓘ
AttributeTargets.Class ⓘ
AttributeTargets.Interface ⓘ
AttributeTargets.Struct ⓘ
Inherited = false ⓘ
canBeAccessedVia System.Type.GetCustomAttributes ⓘ
linked to: System.Type

System.Type.GetDefaultMembers ⓘ
linked to: System.Type
category reflection attribute ⓘ
defaultMemberAffects Type.GetDefaultMembers result ⓘ
Type.InvokeMember default member resolution ⓘ
definedIn .NET 5+ ⓘ
linked to: .NET (5 and later)

.NET Core ⓘ
.NET Framework ⓘ
fullName System.Reflection.DefaultMemberAttribute ⓘ
hasConstructor DefaultMemberAttribute(string memberName) ⓘ
hasProperty string MemberName { get; } ⓘ
inheritsFrom System.Attribute ⓘ
introducedIn .NET Framework 1.0 ⓘ
linked to: .NET Framework
isCLSCompliant true ⓘ
isPublic true ⓘ
isSealed true ⓘ
isSerializable true ⓘ
languageSyntaxCSharp [DefaultMember("Item")] ⓘ
languageSyntaxVB <DefaultMember("Item")> ⓘ
memberNameStoredAs string ⓘ
namespace System.Reflection ⓘ
purpose designate default member of a type ⓘ
support language binding ⓘ
support reflection ⓘ
relatedTo System.Reflection.MemberInfo ⓘ
System.Type ⓘ
indexer implementation in C# ⓘ
usedBy COM interop ⓘ
language binders ⓘ
reflection ⓘ
usedFor default property designation in VB.NET ⓘ
indexer designation in C# ⓘ
usedImplicitlyBy C# compiler for indexers ⓘ
VB.NET compiler for default properties ⓘ

How these facts were elicited

Referenced by (2)

Full triples — surface form annotated when it differs from this entity's canonical label.

System.Reflection → containsType → System.Reflection.DefaultMemberAttribute ⓘ
System.Reflection.DefaultMemberAttribute → fullName → System.Reflection.DefaultMemberAttribute ⓘ