共用方式為


TypeBuilder.GenericParameterAttributes Property

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

Gets a value that indicates the covariance and special constraints of the current generic type parameter.

Namespace:  System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property GenericParameterAttributes As GenericParameterAttributes
public override GenericParameterAttributes GenericParameterAttributes { get; }

Property Value

Type: System.Reflection.GenericParameterAttributes
A bitwise combination of the enumeration values that describe the covariance and special constraints of the current generic type parameter.

Remarks

NoteNote:

When emitting code, a generic type parameter is represented by a GenericTypeParameterBuilder object rather than by a TypeBuilder object.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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