Rediger

Del via


GenericTypeParameterBuilder.IsDefined(Type, Boolean) Method

Definition

Not supported for incomplete generic type parameters.

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

Parameters

attributeType
Type

Not supported.

inherit
Boolean

Not supported.

Returns

Not supported for incomplete generic type parameters.

Exceptions

In all cases.

Remarks

This method is not supported for incomplete generic type parameters. Retrieve the type parameter from the completed generic type definition and then use reflection on the retrieved type.

Applies to