ComponentInfo Constructors
Definition
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.
Overloads
| Name | Description |
|---|---|
| ComponentInfo() |
Creates a component-information record with its initial field values. |
| ComponentInfo(ComponentInfo) |
Creates a component-information record using values from another record. |
| ComponentInfo(Parcel) |
Restores package-item and component information from a parcel. |
| ComponentInfo(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
ComponentInfo()
Creates a component-information record with its initial field values.
[Android.Runtime.Register(".ctor", "()V", "")]
public ComponentInfo();
- 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
ComponentInfo(ComponentInfo)
Creates a component-information record using values from another record.
[Android.Runtime.Register(".ctor", "(Landroid/content/pm/ComponentInfo;)V", "")]
public ComponentInfo(Android.Content.PM.ComponentInfo? orig);
[<Android.Runtime.Register(".ctor", "(Landroid/content/pm/ComponentInfo;)V", "")>]
new Android.Content.PM.ComponentInfo : Android.Content.PM.ComponentInfo -> Android.Content.PM.ComponentInfo
Parameters
- orig
- ComponentInfo
The component record from which field values are copied.
- 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
ComponentInfo(Parcel)
Restores package-item and component information from a parcel.
[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
protected ComponentInfo(Android.OS.Parcel? source);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.Content.PM.ComponentInfo : Android.OS.Parcel -> Android.Content.PM.ComponentInfo
Parameters
- source
- Parcel
The parcel containing the package-item fields followed by the component fields.
- 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
ComponentInfo(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected ComponentInfo(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Content.PM.ComponentInfo : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.PM.ComponentInfo
Parameters
- 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.