Class DocumentIndexFieldExtensions
Defines extenstion methods for DocumentIndexField
Inheritance
System.Object
    DocumentIndexFieldExtensions
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient.dll
Syntax
public static class DocumentIndexFieldExtensions
  Fields
RegexHighlyDiscouraged
Defines regex which matches the hightly descouraged symbols for xml.
Declaration
public static readonly string RegexHighlyDiscouraged
  Field Value
| Type | Description | 
|---|---|
| System.String | 
Methods
RemoveDiscouragedCharacters(DocumentIndexField)
Removess the highly xml discoraged characters from the value of the document index field.
Declaration
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.
Declaration
public static void ReplaceDiscouragedCharacters(this DocumentIndexField field, string value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| DocumentIndexField | field | The field that will be validate for discoraged characters.  | 
      
| System.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.