RequiredAttributeAttribute Constructor (Type)

 

Initializes a new instance of the RequiredAttributeAttribute class.

Namespace:   System.Runtime.CompilerServices
Assembly:  mscorlib (in mscorlib.dll)

public RequiredAttributeAttribute(
	Type requiredContract
)

Parameters

requiredContract
Type: System.Type

A type that an importing compiler must fully understand.

This parameter is not supported in the .NET Framework version 2.0 and later.

.NET Framework
Available since 1.1
Return to top
Show: