GenericParameterConstraint 结构

定义

public value class GenericParameterConstraint
public struct GenericParameterConstraint
type GenericParameterConstraint = struct
Public Structure GenericParameterConstraint
继承
GenericParameterConstraint

属性

Parameter

获取受约束的 GenericParameterHandleGets the constrained GenericParameterHandle.

Type

获取句柄(TypeDefinitionHandleTypeReferenceHandleTypeSpecificationHandle),该句柄指定此泛型参数被约束为从哪个类型派生,或者此泛型参数被约束为实现哪个接口。Gets a handle (TypeDefinitionHandle, TypeReferenceHandle, or TypeSpecificationHandle) specifying from which type this generic parameter is constrained to derive, or which interface this generic parameter is constrained to implement.

方法

GetCustomAttributes()

适用于