class ConditionalAttribute

in global :: System . Diagnostics

Indicates to compilers that a method call or attribute should be ignored unless a specified conditional compilation symbol is defined.


public ConditionalAttribute( string conditionString )

Initializes a new instance of the class.

  • conditionString A string that specifies the case-sensitive conditional compilation symbol that is associated with the attribute.

public string ConditionString { get; }

Gets the conditional compilation symbol that is associated with the attribute.

  • Returns A string that specifies the case-sensitive conditional compilation symbol that is associated with the attribute.

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.