IMsItemSetFileAttributesAsync Method
IT Hit WebDAV Classes Reference
Updates file attributes.
Namespace:
ITHit.WebDAV.Server.MicrosoftExtensions
Assembly:
ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 13.3.13068
Syntax Task SetFileAttributesAsync(
FileAttributes value
)
Function SetFileAttributesAsync (
value As FileAttributes
) As Task
Task^ SetFileAttributesAsync(
FileAttributes value
)
abstract SetFileAttributesAsync :
value : FileAttributes -> Task
Parameters
- value
- Type: System.IOFileAttributes
File attributes.
Return Value
Type:
Task
.
Exceptions Examples The code below is part of 'WebDAVServer.FileSystemStorage.AspNet' C# & VB samples provided with the SDK.
public async Task SetFileAttributesAsync(FileAttributes value)
{
File.SetAttributes(fileSystemInfo.FullName, value);
}
Public Async Function SetFileAttributesAsync(value As FileAttributes) As Task Implements IMsItem.SetFileAttributesAsync
File.SetAttributes(fileSystemInfo.FullName, value)
End Function
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also