class MemberInfo

in global :: System . Reflection

Obtains information about the attributes of a member and provides access to member metadata.


public IEnumerable<CustomAttributeData> CustomAttributes { get; }

Gets a collection that contains this member's custom attributes.

  • Returns A collection that contains this member's custom attributes.

public Type DeclaringType { get; }

Gets the class that declares this member.

  • Returns The object for the class that declares this member.

public int MetadataToken { get; }

Gets a value that identifies a metadata element.

  • Returns A value which, in combination with , uniquely identifies a metadata element.

public string Name { get; }

Gets the name of the current member.

  • Returns A containing the name of this member.

public Type ReflectedType { get; }

Gets the class object that was used to obtain this instance of .

  • Returns The object through which this object was obtained.

public bool IsCollectible { get; }

😔 No documentation found.