Partager via


ContractClassAttribute.TypeContainingContracts Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the type that contains the code contracts for this type.

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

Syntax

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

Property Value

Type: System.Type
The type that contains the code contracts for this type.

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.