ContractClassForAttribute.TypeContractsAreFor Property

Gets the type that this code contract applies to.

Namespace:  System.Diagnostics.Contracts
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public ReadOnly Property TypeContractsAreFor As Type
public Type TypeContractsAreFor { get; }

Property Value

Type: System.Type
The type that this contract applies to.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.