IUserDefinedFileAttributeView.Size(String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- name
- String
The attribute name
The size of the attribute value, in bytes.
- Attributes
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.
Produkt | Verzie |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |