del método TaxonomyField.GetFieldValueAsText
Returns a plain text representation of the field value.
Espacio de nombres: Microsoft.SharePoint.Taxonomy
Ensamblado: Microsoft.SharePoint.Taxonomy (en Microsoft.SharePoint.Taxonomy.dll)
Sintaxis
'Declaración
Public Overrides Function GetFieldValueAsText ( _
value As Object _
) As String
'Uso
Dim instance As TaxonomyField
Dim value As Object
Dim returnValue As String
returnValue = instance.GetFieldValueAsText(value)
public override string GetFieldValueAsText(
Object value
)
Parámetros
value
Tipo: System.ObjectAn object of type TaxonomyFieldValue orTaxonomyFieldValueCollection that represents the value to convert.
Valor devuelto
Tipo: System.String
A string that contains the value as plain text.
Excepciones
Excepción | Condición |
---|---|
ArgumentException | The value parameter was of a type other than TaxonomyFieldValue and TaxonomyFieldValueCollection. |
Comentarios
If the value parameter is of type TaxonomyFieldValue, this method returns its label.