다음을 통해 공유


SPFolderHierarchy.TryGetFolderItem Method

Namespace:  Microsoft.Office.Server.Utilities
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Function TryGetFolderItem ( _
    strFolderUrl As String, _
    <OutAttribute> ByRef folderItem As SPListItem _
) As Boolean
'Usage
Dim instance As SPFolderHierarchy
Dim strFolderUrl As String
Dim folderItem As SPListItem
Dim returnValue As Boolean

returnValue = instance.TryGetFolderItem(strFolderUrl, _
    folderItem)
public bool TryGetFolderItem(
    string strFolderUrl,
    out SPListItem folderItem
)

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

See Also

Reference

SPFolderHierarchy Class

SPFolderHierarchy Members

Microsoft.Office.Server.Utilities Namespace