ComAwareEventInfo.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
 
如果要搜索此成员的继承链以查找属性,则为 true;否则为 false。
返回
如果已对此成员应用指定特性,则为 true;否则为 false。