struct CustomAttributeTypedArgument

in global :: System . Reflection

Represents an argument of a custom attribute in the reflection-only context, or an element of an array argument.


public CustomAttributeTypedArgument( object value )

Initializes a new instance of the class with the specified value.

  • value The value of the custom attribute argument.

public CustomAttributeTypedArgument( Type argumentType, object value )

Initializes a new instance of the class with the specified type and value.

  • argumentType The type of the custom attribute argument.
  • value The value of the custom attribute argument.

public Type ArgumentType { get; }

Gets the type of the argument or of the array argument element.

  • Returns A object representing the type of the argument or of the array element.

public bool Equals( object obj )

Indicates whether this instance and a specified object are equal.

  • obj Another object to compare to.
  • Returns if and this instance are the same type and represent the same value; otherwise, .

public static bool op_Equality( CustomAttributeTypedArgument left, CustomAttributeTypedArgument right )

Tests whether two structures are equivalent.

  • left The structure to the left of the equality operator.
  • right The structure to the right of the equality operator.
  • Returns if the two structures are equal; otherwise, .

public static bool op_Inequality( CustomAttributeTypedArgument left, CustomAttributeTypedArgument right )

Tests whether two structures are different.

  • left The structure to the left of the inequality operator.
  • right The structure to the right of the inequality operator.
  • Returns if the two structures are different; otherwise, .

public object Value { get; }

Gets the value of the argument for a simple argument or for an element of an array argument; gets a collection of values for an array argument.

  • Returns An object that represents the value of the argument or element, or a generic of objects that represent the values of an array-type argument.

public string ToString( )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public bool Equals( CustomAttributeTypedArgument other )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.