Share via


TaxonomyFieldValue.TermGuid property

Gets or sets a string representing the term GUID.

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

Syntax

'Declaration
Public Property TermGuid As String
    Get
    Set
'Usage
Dim instance As TaxonomyFieldValue
Dim value As String

value = instance.TermGuid

instance.TermGuid = value
public string TermGuid { get; set; }

Property value

Type: System.String
A string representing a GUID that uniquely identifies a Term object.

Exceptions

Exception Condition
MemberAccessException

The GUID of the Term was not specified when the TaxonomyFieldValue object was constructed and the TaxonomyFieldValue object is not bound to a Field object.

Remarks

If an invalid internal identifier was specified when the TaxonomyFieldValue object was constructed, this property will return an empty string.

See also

Reference

TaxonomyFieldValue class

TaxonomyFieldValue members

Microsoft.SharePoint.Client.Taxonomy namespace

TaxonomyField

Microsoft.SharePoint.Client.Taxonomy

Microsoft.SharePoint.Client