ContractClassForAttribute.TypeContractsAreFor Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Windows Phone OS

Supported in: 8.1, 8.0

See Also


ContractClassForAttribute Class

System.Diagnostics.Contracts Namespace