Retrieves an array of the static node IDs that are children of the specified item ID.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'宣言
Public Function GetChildStaticNodeIds ( _
itemId As Integer _
) As String()
'使用
Dim instance As DataViewHierarchyAccessor
Dim itemId As Integer
Dim returnValue As String()
returnValue = instance.GetChildStaticNodeIds(itemId)
public string[] GetChildStaticNodeIds(
int itemId
)
public:
array<String^>^ GetChildStaticNodeIds(
int itemId
)
public function GetChildStaticNodeIds(
itemId : int
) : String[]
Parameters
itemId
Type: System.Int32The item ID of a parent node.
Return Value
Type: []
Returns an array of the static node item IDs representing children of the specified item ID.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The specified itemId is invalid. |
Remarks
This method helps provide context on where a given item ID is located in the tree.
Permissions
- 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.
See Also
Reference
DataViewHierarchyAccessor Class