BasicProfileViolationCollection.Contains(BasicProfileViolation) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检查集合是否包含指定的 BasicProfileViolation 对象。
public:
bool Contains(System::Web::Services::Description::BasicProfileViolation ^ violation);
public bool Contains(System.Web.Services.Description.BasicProfileViolation violation);
member this.Contains : System.Web.Services.Description.BasicProfileViolation -> bool
Public Function Contains (violation As BasicProfileViolation) As Boolean
参数
- violation
- BasicProfileViolation
要 BasicProfileViolation 定位在集合中的对象。