Language

MtpObjectInfo.Builder.SetParent(Int32) Method

Definition

Sets the parent object handle.

[Android.Runtime.Register("setParent", "(I)Landroid/mtp/MtpObjectInfo$Builder;", "GetSetParent_IHandler", ApiSince=24)]
public virtual Android.Mtp.MtpObjectInfo.Builder? SetParent(int value);
[<Android.Runtime.Register("setParent", "(I)Landroid/mtp/MtpObjectInfo$Builder;", "GetSetParent_IHandler", ApiSince=24)>]
abstract member SetParent : int -> Android.Mtp.MtpObjectInfo.Builder
override this.SetParent : int -> Android.Mtp.MtpObjectInfo.Builder

Parameters

value
Int32

The parent object's MTP handle, or zero for the root directory of a storage unit.

Returns

This builder.

Attributes

Remarks

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