Okapi .NET Library

IFilterItem.HasCode Method 

 [This is preliminary documentation and subject to change.]

Indicator whether the item has at least one inline code.

[Visual Basic]
Function HasCode() As Boolean
[C#]
bool HasCode();
[C++]
bool HasCode();
[JScript]
function HasCode(): bool;

Return Value

True if the item has at least one inline code.

Remarks

Use this method to query whether the text item contains at least one inline code. You can obtain the number of inline codes in the item with the GetCodeCount method.

See Also

IFilterItem Interface | Okapi.Library.Filter Namespace | GetCodeCount