Share via


TaxonomyFieldValue.ValidatedString property

Gets a validated, serialized string representation of the TaxonomyFieldValue object.

Namespace:  Microsoft.SharePoint.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)

Syntax

'Declaration
Public ReadOnly Property ValidatedString As String
    Get
'Usage
Dim instance As TaxonomyFieldValue
Dim value As String

value = instance.ValidatedString
public string ValidatedString { get; }

Property value

Type: System.String
A string representation of the TaxonomyFieldValue object that can be used for data serialization logic and used for field validation logic.

Exceptions

Exception Condition
MemberAccessException

The TaxonomyFieldValue instance is not bound to a SPField object.

See also

Reference

TaxonomyFieldValue class

TaxonomyFieldValue members

Microsoft.SharePoint.Taxonomy namespace

GetValidatedString(Object)

TaxonomyField

Microsoft.SharePoint.Taxonomy

Microsoft.SharePoint