Čítať v angličtine

Zdieľať cez


IUserDefinedFileAttributeView.Size(String) Method

Definition

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

C#
[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);

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

Produkt Verzie
.NET for Android .NET for Android API 34, .NET for Android API 35