Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ConditionalAttribute Members

Indicates to compilers that a method is callable if a specified preprocessing identifier is applied to the method.

The following tables list the members exposed by the ConditionalAttribute type.

  Name Description
Public method Supported by the .NET Compact Framework ConditionalAttribute Initializes a new instance of the ConditionalAttribute class, specifying the name of the attribute that enables the calling of the conditional method.
Top

  Name Description
Public property Supported by the .NET Compact Framework ConditionString Gets the string that contains the pre-processing identifier that makes the target method of the current instance callable.
Public property TypeId  When implemented in a derived class, gets a unique identifier for this Attribute.(Inherited from Attribute.)
Top

  Name Description
Public method Supported by the .NET Compact Framework Equals  Overloaded. (Inherited from Attribute.)
Public method Static Supported by the .NET Compact Framework GetCustomAttribute  Overloaded. Retrieves a custom attribute of a specified type applied to an assembly, module, type member, or method parameter. (Inherited from Attribute.)
Public method Static Supported by the .NET Compact Framework GetCustomAttributes  Overloaded. Retrieves an array of the custom attributes applied to an assembly, module, type member, or method parameter. (Inherited from Attribute.)
Public method Supported by the .NET Compact Framework GetHashCode  Returns the hash code for this instance. (Inherited from Attribute.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method IsDefaultAttribute  When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.)
Public method Static Supported by the .NET Compact Framework IsDefined  Overloaded. Determines whether any custom attributes of a specified type are applied to an assembly, module, type member, or method parameter. (Inherited from Attribute.)
Public method Supported by the .NET Compact Framework Match  When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft