Adds an item, and any dependent items, to the project.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Protected Overridable Function AddDependentFileNode ( _
subitems As IDictionary(Of String, BuildItem), _
key As String _
) As HierarchyNode
'使用
Dim subitems As IDictionary(Of String, BuildItem)
Dim key As String
Dim returnValue As HierarchyNode
returnValue = Me.AddDependentFileNode(subitems, _
key)
protected virtual HierarchyNode AddDependentFileNode(
IDictionary<string, BuildItem> subitems,
string key
)
protected:
virtual HierarchyNode^ AddDependentFileNode(
IDictionary<String^, BuildItem^>^ subitems,
String^ key
)
protected function AddDependentFileNode(
subitems : IDictionary<String, BuildItem>,
key : String
) : HierarchyNode
Parameters
subitems
Type: System.Collections.Generic.IDictionary<String, BuildItem>The BuildItem to add.
key
Type: System.StringKey to retrieve the target item from the subitems list.
Return Value
Type: Microsoft.VisualStudio.Package.HierarchyNode
The newly added HierarchyNode.
Remarks
This method may recurse if the parent item is another subitem.
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.