Okapi .NET Library

ILocalizationDirectives.IsInDNLList Method 

 [This is preliminary documentation and subject to change.]

Queries if a given item is listed in the DNL lists.

[Visual Basic]
Function IsInDNLList( _ 
   ByVal p_Item As IFilterItem _ 
) As Boolean
[C#]
bool IsInDNLList(
   IFilterItem p_Item
);
[C++]
bool IsInDNLList(
   IFilterItem* p_Item
);
[JScript]
function IsInDNLList(
   IFilterItem p_Item
): bool;

Parameters

p_Item
The item to lookup.

Return Value

True if the searched text has been founded in the current list.

Remarks

You must load the DNL list file before calling this function. Use the LoadDNLFile method for this. Implementers: The DNL list must have precedence over any embedded directives.

See Also

ILocalizationDirectives Interface | Okapi.Library.Filter Namespace