Novell.Directory.Ldap.Rfc2251.RfcFilter.startSubstrings C# (CSharp) Method

startSubstrings() public method

Creates and addes a substrings filter component. startSubstrings must be immediatly followed by at least one {@link #addSubstring} method and one {@link #endSubstrings} method @throws Novell.Directory.Ldap.LdapLocalException Occurs when this component is created out of sequence.
public startSubstrings ( System attrName ) : void
attrName System
return void
        public virtual void startSubstrings(System.String attrName)
        {
            finalFound = false;
            Asn1SequenceOf seq = new Asn1SequenceOf(5);
            Asn1Object current = new Asn1Tagged(new Asn1Identifier(Asn1Identifier.CONTEXT, true, SUBSTRINGS), new RfcSubstringFilter(new RfcAttributeDescription(attrName), seq), false);
            addObject(current);
            SupportClass.StackPush(filterStack, seq);
            return ;
        }