GenericParameter GenericParameter GenericParameter GenericParameter Struct

定義

public value class GenericParameter
public struct GenericParameter
type GenericParameter = struct
Public Structure GenericParameter
繼承
GenericParameterGenericParameterGenericParameterGenericParameter

屬性

Attributes Attributes Attributes Attributes

取得指定變異數和條件約束的屬性。Gets the attributes specifying variance and constraints.

Index Index Index Index

取得宣告的泛型型別或方法宣告內參數之以零為起始的索引。Gets the zero-based index of the parameter within the declaring generic type or method declaration.

Name Name Name Name

取得泛型參數的名稱。Gets the name of the generic parameter.

Parent Parent Parent Parent

取得 TypeDefinitionHandleMethodDefinitionHandle,代表此泛型參數的父代。Gets a TypeDefinitionHandle or MethodDefinitionHandle that represents the parent of this generic parameter.

方法

GetConstraints() GetConstraints() GetConstraints() GetConstraints()
GetCustomAttributes() GetCustomAttributes() GetCustomAttributes() GetCustomAttributes()

適用於