Returns the zero-based index of the first occurrence of a CustomAttribute in the CustomAttributeCollection. 
CustomAttributeCollection. The zero-based index of the first occurrence of item in the entire CustomAttributeCollection, if found; otherwise, -1. 
CustomAttributeCollection Class | DDW.CSharp.Dom Namespace