Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetFieldValueAsText method

TaxonomyField.GetFieldValueAsText method

Returns a plain text representation of the field value.

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

public override string GetFieldValueAsText(
	Object value


Type: System.Object

An object of type TaxonomyFieldValue orTaxonomyFieldValueCollection that represents the value to convert.

Return value

Type: System.String
A string that contains the value as plain text.


The value parameter was of a type other than TaxonomyFieldValue and TaxonomyFieldValueCollection.

If the value parameter is of type TaxonomyFieldValue, this method returns its label.

© 2015 Microsoft