PackageManager.GetProperty Method
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
GetProperty(String, ComponentName) |
Returns the property defined in the given component declaration. |
GetProperty(String, String) |
Returns the property defined in the given component declaration. |
GetProperty(String, ComponentName)
Returns the property defined in the given component declaration.
[Android.Runtime.Register("getProperty", "(Ljava/lang/String;Landroid/content/ComponentName;)Landroid/content/pm/PackageManager$Property;", "GetGetProperty_Ljava_lang_String_Landroid_content_ComponentName_Handler", ApiSince=31)]
public virtual Android.Content.PM.PackageManager.Property GetProperty (string propertyName, Android.Content.ComponentName component);
[<Android.Runtime.Register("getProperty", "(Ljava/lang/String;Landroid/content/ComponentName;)Landroid/content/pm/PackageManager$Property;", "GetGetProperty_Ljava_lang_String_Landroid_content_ComponentName_Handler", ApiSince=31)>]
abstract member GetProperty : string * Android.Content.ComponentName -> Android.Content.PM.PackageManager.Property
override this.GetProperty : string * Android.Content.ComponentName -> Android.Content.PM.PackageManager.Property
Parameters
- propertyName
- String
- component
- ComponentName
Returns
- 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
GetProperty(String, String)
Returns the property defined in the given component declaration.
[Android.Runtime.Register("getProperty", "(Ljava/lang/String;Ljava/lang/String;)Landroid/content/pm/PackageManager$Property;", "GetGetProperty_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=31)]
public virtual Android.Content.PM.PackageManager.Property GetProperty (string propertyName, string packageName);
[<Android.Runtime.Register("getProperty", "(Ljava/lang/String;Ljava/lang/String;)Landroid/content/pm/PackageManager$Property;", "GetGetProperty_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=31)>]
abstract member GetProperty : string * string -> Android.Content.PM.PackageManager.Property
override this.GetProperty : string * string -> Android.Content.PM.PackageManager.Property
Parameters
- propertyName
- String
- packageName
- String
Returns
- 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.