WindowsFileSystemItemTryGetAttributes Method |
IT Hit User File System
Tries to get file attributes.
Namespace:
ITHit.FileSystem.Windows
Assembly:
ITHit.FileSystem.Windows (in ITHit.FileSystem.Windows.dll) Version: 8.4.27341.0
Syntax public static bool TryGetAttributes(
string path,
out Nullable<FileAttributes> attributes
)
Public Shared Function TryGetAttributes (
path As String,
<OutAttribute> ByRef attributes As Nullable(Of FileAttributes)
) As Boolean
public:
static bool TryGetAttributes(
String^ path,
[OutAttribute] Nullable<FileAttributes>% attributes
)
static member TryGetAttributes :
path : string *
attributes : Nullable<FileAttributes> byref -> bool
Parameters
- path
- Type: SystemString
File system path. - attributes
- Type: SystemNullableFileAttributes
Attributes.
Return Value
Type:
BooleanTrue if the method completed successfully, false - otherwise.
See Also