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

不支援。

傳回

不支援不完整的泛型型別參數。

例外狀況

在所有情況下。

備註

不完整的泛型型別參數不支援這個方法。 從已完成的泛型型別定義擷取型別參數,然後在擷取的類型上使用反映。

適用於