Class DocumentIndexFieldExtensions
- Namespace
- DocuWare.Platform.ServerClient
- Assembly
- DocuWare.Platform.ServerClient.dll
Defines extenstion methods for DocumentIndexField
public static class DocumentIndexFieldExtensions
- Inheritance
-
DocumentIndexFieldExtensions
- Inherited Members
Fields
RegexHighlyDiscouraged
Defines regex which matches the hightly descouraged symbols for xml.
public static readonly string RegexHighlyDiscouraged
Field Value
| Type | Description |
|---|---|
| string |
Methods
RemoveDiscouragedCharacters(DocumentIndexField)
Removess the highly xml discoraged characters from the value of the document index field.
public static void RemoveDiscouragedCharacters(this DocumentIndexField field)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentIndexField | field | The field that will be validate for discoraged characters. |
Remarks
For more information about discoraged characters in XML you could check wikipedia.
ReplaceDiscouragedCharacters(DocumentIndexField, string)
Replaces the highly xml discoraged characters with a specified value.
public static void ReplaceDiscouragedCharacters(this DocumentIndexField field, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentIndexField | field | The field that will be validate for discoraged characters. |
| string | value | The value that will be use the discoraged characters to be replaced with. |
Remarks
For more information about discoraged characters in XML you could check wikipedia.