TaxonomyItemPicker.TermSetId property
Gets or sets the TermSetId property.
Namespace: Microsoft.SharePoint.Taxonomy
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
<PersistenceModeAttribute(PersistenceMode.Attribute)> _
Public Property TermSetId As Guid
Get
Set
'Usage
Dim instance As TaxonomyItemPicker
Dim value As Guid
value = instance.TermSetId
instance.TermSetId = value
[PersistenceModeAttribute(PersistenceMode.Attribute)]
public Guid TermSetId { get; set; }
Property value
Type: System.Guid
The TermSetId property, if applicable; otherwise, an empty GUID.
Remarks
The TermStoreId property, TermSetId property, GroupId property, and TermId property specify the initially selected tree node when the control is loading, and they report the currently selected tree node during postback.
If a property is not applicable for the selected node type, then its value is the empty GUID. For example, if the selected node is a Group, then the TermSetId property and the TermId property are empty. If the selected object is a Term, then all four GUIDs are reported.
The GroupId property is ignored as an input for the TermSet object and the Term object because they can be identified unambiguously without it.