SPField.TranslationXml Property
Document content that has been stored in a multilingual database for display as an XML document.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Property TranslationXml As String
Get
Set
'Usage
Dim instance As SPField
Dim value As String
value = instance.TranslationXml
instance.TranslationXml = value
public string TranslationXml { get; set; }
Property Value
Type: System.String
A String that contains information for the "Translations" Xmlnode of an XML document. This node is the parent node for the translated content.
Exceptions
Exception | Condition |
---|---|
NotSupportedException | Not supported for this property. |
ArgumentException | SPList is not a null reference (Nothing in Visual Basic). |
Remarks
After the Language ID and Country ID are established for a user, content in the appropriate language is extracted from a database and formatted into XML for display.
This property can only be set if the list associated with the field is a null reference (Nothing in Visual Basic).