TaxonomyItemPicker.TermStoreId property
Gets or sets the TermStoreId property.
Namespace: Microsoft.SharePoint.Taxonomy
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
<PersistenceModeAttribute(PersistenceMode.Attribute)> _
Public Property TermStoreId As Guid
Get
Set
'Usage
Dim instance As TaxonomyItemPicker
Dim value As Guid
value = instance.TermStoreId
instance.TermStoreId = value
[PersistenceModeAttribute(PersistenceMode.Attribute)]
public Guid TermStoreId { get; set; }
Property value
Type: System.Guid
The TermStoreId 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.