Udostępnij za pośrednictwem


IUserDefinedFileAttributeView.Size(String) Method

Definition

Returns the size of the value of a user-defined attribute.

[Android.Runtime.Register("size", "(Ljava/lang/String;)I", "GetSize_Ljava_lang_String_Handler:Java.Nio.FileNio.Attributes.IUserDefinedFileAttributeViewInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public int Size (string? name);
[<Android.Runtime.Register("size", "(Ljava/lang/String;)I", "GetSize_Ljava_lang_String_Handler:Java.Nio.FileNio.Attributes.IUserDefinedFileAttributeViewInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member Size : string -> int

Parameters

name
String

The attribute name

Returns

The size of the attribute value, in bytes.

Attributes

Remarks

Returns the size of the value of a user-defined attribute.

Java documentation for java.nio.file.attribute.UserDefinedFileAttributeView.size(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to