Lingua

FileSystemProvider.SetAttribute(IPath, String, Object, LinkOption[]) Metodo

Definizione

Imposta il valore di un attributo di file.

[Android.Runtime.Register("setAttribute", "(Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/Object;[Ljava/nio/file/LinkOption;)V", "GetSetAttribute_Ljava_nio_file_Path_Ljava_lang_String_Ljava_lang_Object_arrayLjava_nio_file_LinkOption_Handler", ApiSince=26)]
public abstract void SetAttribute(Java.Nio.FileNio.IPath? path, string? attribute, Java.Lang.Object? value, params Java.Nio.FileNio.LinkOption[]? options);
[<Android.Runtime.Register("setAttribute", "(Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/Object;[Ljava/nio/file/LinkOption;)V", "GetSetAttribute_Ljava_nio_file_Path_Ljava_lang_String_Ljava_lang_Object_arrayLjava_nio_file_LinkOption_Handler", ApiSince=26)>]
abstract member SetAttribute : Java.Nio.FileNio.IPath * string * Java.Lang.Object * Java.Nio.FileNio.LinkOption[] -> unit

Parametri

path
IPath

percorso del file

attribute
String

attributo da impostare

value
Object

valore dell'attributo

options
LinkOption[]

opzioni che indicano come vengono gestiti i collegamenti simbolici

Attributi

Commenti

per java.nio.file.spi.FileSystemProvider.setAttribute(java.nio.file.Path, java.lang.String, java.lang.Object, java.nio.file.LinkOption).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a