none
Exists Type case insensitive RRS feed

  • Question

  • I've got one problem with a custom property (or custom header), I've got the following code:

     ExistsType ieToTypeRead = new ExistsType();
                            PathToExtendedFieldType rsReadStatus = new PathToExtendedFieldType();
                            rsReadStatus.DistinguishedPropertySetId = DistinguishedPropertySetType.InternetHeaders;
                            rsReadStatus.DistinguishedPropertySetIdSpecified = true;
                            rsReadStatus.PropertyName = "X-HEADER";
                            //rsReadStatus.PropertyTag = "0x007D";
                            rsReadStatus.PropertyType = MapiPropertyTypeType.String;
                            ieToTypeRead.Item = rsReadStatus;
    andArray.Items[count++] = ieToTypeRead; --> This is one AndType array.

    And I've got one 

    rt = new RestrictionType();

    rt.Item = andArray.

    The problem is when the "X-HEADER" is set in lowercase (by any reason), then it's not find. How can I do it to be case insensitive?.

    Wednesday, February 8, 2012 12:41 PM