GenericTypeParameterBuilder.IsDefined(Type, Boolean) 方法

定義

不支援不完整的通用型參數。

public:
 override bool IsDefined(Type ^ attributeType, bool inherit);
public override bool IsDefined(Type attributeType, bool inherit);
override this.IsDefined : Type * bool -> bool
Public Overrides Function IsDefined (attributeType As Type, inherit As Boolean) As Boolean

參數

attributeType
Type

不支援。

inherit
Boolean

不支援。

傳回

不支援不完整的通用型參數。

例外狀況

無論哪種情況。

備註

此方法不支援不完整的泛型參數。 從完成的通用型別定義中取得型態參數,然後對檢索出的型別進行反射。

適用於