Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Class

CustomAttributeNamedArgument

class CustomAttributeNamedArgument

Module: System.Introspection
Assembly: System.Runtime.dll
Source file: Descriptors.rvn

Inheritance: Object → CustomAttributeNamedArgument

Describes one named attribute assignment without invoking user code. Development API; resolving MemberInfo and wider argument categories remain unsupported.

Properties

3 items
IsField: bool True for a field assignment; false for a property assignment.
MemberName: string Gets the exact declared field or property name.
TypedValue: CustomAttributeTypedArgument Gets the declared primitive argument type and boxed value, or null for a null String.

Methods

4 items
Equals(other: object?) -> bool Tests reference identity by default; an ordinary class may override equality. Inherited from Object.Equals
GetHashCode() -> int Returns a stable identity hash by default; an ordinary class may override it consistently with equality. Inherited from Object.GetHashCode
GetType() -> TypeInfo Returns metadata for the concrete runtime type of this instance. Inherited from Object.GetType
ToString() -> string Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override. Inherited from Object.ToString