ContractClassForAttribute.TypeContractsAreFor Property

Gets the type that this code contract applies to.

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


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

Property Value

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

Version Information


Supported in: 5, 4


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