class DefaultMemberAttribute

in global :: System . Reflection

Defines the member of a type that is the default member used by .


public DefaultMemberAttribute( string memberName )

Initializes a new instance of the class.

  • memberName A containing the name of the member to invoke. This may be a constructor, method, property, or field. A suitable invocation attribute must be specified when the member is invoked. The default member of a class can be specified by passing an empty as the name of the member. The default member of a type is marked with the custom attribute or marked in COM in the usual way.

public string MemberName { get; }

Gets the name from the attribute.

  • Returns A string representing the member name.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public object TypeId { get; }

😔 No documentation found.

public bool Match( object obj )

😔 No documentation found.

public bool IsDefaultAttribute( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.