ProjectNode.VerifySubFolderExists Method

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

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

See Also

Reference

ProjectNode Class

ProjectNode Members

Microsoft.VisualStudio.Package Namespace