Table of Contents

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

TypeDescription
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

TypeNameDescription
DocumentIndexFieldfield

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

TypeNameDescription
DocumentIndexFieldfield

The field that will be validate for discoraged characters.

stringvalue

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.