GenericTypeParameterBuilder.IsDefined(Type, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
不支援不完整的通用型參數。
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
不支援。
傳回
不支援不完整的通用型參數。
例外狀況
無論哪種情況。
備註
此方法不支援不完整的泛型參數。 從完成的通用型別定義中取得型態參數,然後對檢索出的型別進行反射。