Netsuite Suitetalk – Searching custom fields in c#

Searching a custom field inside a Netsuite Customer object for a specific string value.

            
CustomerSearchBasic csb = new CustomerSearchBasic()
{
  customFieldList = new List<SearchCustomField>() { new SearchStringCustomField()
  {
    scriptId = "custentity_sfId",
    searchValue="mySalesforce18CharId",
    @operator=SearchStringFieldOperator.@is,
    operatorSpecified=true
  }}.ToArray()
};

SearchResult result = _service.search(csb);