Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a new IExplorerNode with the specified sort position among sibling nodes.
Namespace: Microsoft.VisualStudio.SharePoint.Explorer
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Function Add ( _
nodeTypeId As String, _
text As String, _
annotations As IDictionary(Of Object, Object), _
sortOrder As Integer _
) As IExplorerNode
IExplorerNode Add(
string nodeTypeId,
string text,
IDictionary<Object, Object> annotations,
int sortOrder
)
Parameters
nodeTypeId
Type: StringThe ID of the IExplorerNodeType to use to define the behavior of the new node.
text
Type: StringThe text to display with the new node.
annotations
Type: IDictionary<Object, Object>A dictionary of objects to be added to the Annotations property of the new node.
sortOrder
Type: Int32A value that is used to sort the current node among sibling nodes.
Return Value
Type: Microsoft.VisualStudio.SharePoint.Explorer.IExplorerNode
The new IExplorerNode.
Remarks
For more information about using the Annotations property, see Associating Custom Data with SharePoint Tools Extensions.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.