IMsItemAsyncSetFileAttributesAsync Method
IT Hit WebDAV Classes Reference
Updates file attributes.
Namespace:
ITHit.WebDAV.Server.MicrosoftExtensions
Assembly:
ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 11.3.10719
SyntaxTask SetFileAttributesAsync(
FileAttributes value
)
Task SetFileAttributesAsync(
FileAttributes value
)
Function SetFileAttributesAsync (
value As FileAttributes
) As Task
Function SetFileAttributesAsync (
value As FileAttributes
) As Task
Task^ SetFileAttributesAsync(
FileAttributes value
)
Task^ SetFileAttributesAsync(
FileAttributes value
)
abstract SetFileAttributesAsync :
value : FileAttributes -> Task
abstract SetFileAttributesAsync :
value : FileAttributes -> Task
Parameters
- value
- Type: System.IOFileAttributes
File attributes.
Return Value
Type:
Task
.
Exceptions
ExamplesThe 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 IMsItemAsync.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