BasicProfileViolationCollection.Contains(BasicProfileViolation) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks whether the collection contains the specified BasicProfileViolation object.
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
Parameters
- violation
- BasicProfileViolation
The BasicProfileViolation object to locate in the collection.
Returns
true
if the BasicProfileViolation object exists in the collection; otherwise false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.