Verifies that there is a child node of the same name as the supplied path, and creates one if none exists.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Protected Overridable Function VerifySubFolderExists ( _
strPath As String, _
parent As HierarchyNode _
) As FolderNode
'使用
Dim strPath As String
Dim parent As HierarchyNode
Dim returnValue As FolderNode
returnValue = Me.VerifySubFolderExists(strPath, _
parent)
protected virtual FolderNode VerifySubFolderExists(
string strPath,
HierarchyNode parent
)
protected:
virtual FolderNode^ VerifySubFolderExists(
String^ strPath,
HierarchyNode^ parent
)
protected function VerifySubFolderExists(
strPath : String,
parent : HierarchyNode
) : FolderNode
Parameters
strPath
Type: System.StringThe path of the node to find.
parent
Type: Microsoft.VisualStudio.Package.HierarchyNodeThe parent of the node to find.
Return Value
Type: Microsoft.VisualStudio.Package.FolderNode
The FolderNode corresponding to the path.
Remarks
This method is used as a helper method for [M:Microsoft.VisualStudio.Package.ProjectNode.CreateFolderNodes(string strPath)].
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.