共用方式為


ContentProviderResult Constructors

Definition

Overloads

ContentProviderResult(Uri)
ContentProviderResult(Bundle)
ContentProviderResult(Parcel)
ContentProviderResult(Throwable)
ContentProviderResult(Int32)
ContentProviderResult(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

ContentProviderResult(Uri)

[Android.Runtime.Register(".ctor", "(Landroid/net/Uri;)V", "")]
public ContentProviderResult (Android.Net.Uri uri);
[<Android.Runtime.Register(".ctor", "(Landroid/net/Uri;)V", "")>]
new Android.Content.ContentProviderResult : Android.Net.Uri -> Android.Content.ContentProviderResult

Parameters

uri
Uri
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

ContentProviderResult(Bundle)

[Android.Runtime.Register(".ctor", "(Landroid/os/Bundle;)V", "", ApiSince=30)]
public ContentProviderResult (Android.OS.Bundle extras);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Bundle;)V", "", ApiSince=30)>]
new Android.Content.ContentProviderResult : Android.OS.Bundle -> Android.Content.ContentProviderResult

Parameters

extras
Bundle
Attributes

Applies to

ContentProviderResult(Parcel)

[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
public ContentProviderResult (Android.OS.Parcel? source);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.Content.ContentProviderResult : Android.OS.Parcel -> Android.Content.ContentProviderResult

Parameters

source
Parcel
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

ContentProviderResult(Throwable)

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "", ApiSince=30)]
public ContentProviderResult (Java.Lang.Throwable exception);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "", ApiSince=30)>]
new Android.Content.ContentProviderResult : Java.Lang.Throwable -> Android.Content.ContentProviderResult

Parameters

exception
Throwable
Attributes

Applies to

ContentProviderResult(Int32)

[Android.Runtime.Register(".ctor", "(I)V", "")]
public ContentProviderResult (int count);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Android.Content.ContentProviderResult : int -> Android.Content.ContentProviderResult

Parameters

count
Int32
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

ContentProviderResult(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected ContentProviderResult (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Content.ContentProviderResult : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.ContentProviderResult

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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