PlaceholdersTryGetItem Method |
IT Hit User File System
Tries to get placeholder file or folder that corresponds to the user file system path.
Namespace:
ITHit.FileSystem.Windows
Assembly:
ITHit.FileSystem.Windows (in ITHit.FileSystem.Windows.dll) Version: 8.3.27213.0
Syntax public bool TryGetItem(
string userFileSystemPath,
out PlaceholderItem placeholder
)
Public Function TryGetItem (
userFileSystemPath As String,
<OutAttribute> ByRef placeholder As PlaceholderItem
) As Boolean
public:
bool TryGetItem(
String^ userFileSystemPath,
[OutAttribute] PlaceholderItem^% placeholder
)
member TryGetItem :
userFileSystemPath : string *
placeholder : PlaceholderItem byref -> bool
Parameters
- userFileSystemPath
- Type: SystemString
Path to the placeholder item in the user file system. - placeholder
- Type: ITHit.FileSystem.WindowsPlaceholderItem
PlaceholderFile or PlaceholderFolder that corresponds to the path provided.
Return Value
Type:
BooleanTrue if the item successfully retrieved, false if the item does not exists.
See Also