다음을 통해 공유


PackageManager.QueryServiceProperty(String) Method

Definition

Returns the property definition for all <service> tags.

[Android.Runtime.Register("queryServiceProperty", "(Ljava/lang/String;)Ljava/util/List;", "GetQueryServiceProperty_Ljava_lang_String_Handler", ApiSince=31)]
public virtual System.Collections.Generic.IList<Android.Content.PM.PackageManager.Property> QueryServiceProperty (string propertyName);
[<Android.Runtime.Register("queryServiceProperty", "(Ljava/lang/String;)Ljava/util/List;", "GetQueryServiceProperty_Ljava_lang_String_Handler", ApiSince=31)>]
abstract member QueryServiceProperty : string -> System.Collections.Generic.IList<Android.Content.PM.PackageManager.Property>
override this.QueryServiceProperty : string -> System.Collections.Generic.IList<Android.Content.PM.PackageManager.Property>

Parameters

propertyName
String

Returns

Attributes

Remarks

Returns the property definition for all &lt;service&gt; tags.

If the property is not defined with any &lt;service&gt; tag, returns and empty list.

Java documentation for android.content.pm.PackageManager.queryServiceProperty(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.

Applies to