Udostępnij za pośrednictwem


IDOMConfiguration.CanSetParameter(String, Object) Method

Definition

Check if setting a parameter to a specific value is supported.

[Android.Runtime.Register("canSetParameter", "(Ljava/lang/String;Ljava/lang/Object;)Z", "GetCanSetParameter_Ljava_lang_String_Ljava_lang_Object_Handler:Org.W3c.Dom.IDOMConfigurationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool CanSetParameter (string? name, Java.Lang.Object? value);
[<Android.Runtime.Register("canSetParameter", "(Ljava/lang/String;Ljava/lang/Object;)Z", "GetCanSetParameter_Ljava_lang_String_Ljava_lang_Object_Handler:Org.W3c.Dom.IDOMConfigurationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member CanSetParameter : string * Java.Lang.Object -> bool

Parameters

name
String

The name of the parameter to check.

value
Object

An object. if null, the returned value is true.

Returns

true if the parameter could be successfully set to the specified value, or false if the parameter is not recognized or the requested value is not supported. This does not change the current value of the parameter itself.

Attributes

Remarks

Check if setting a parameter to a specific value is supported.

Java documentation for org.w3c.dom.DOMConfiguration.canSetParameter(java.lang.String, java.lang.Object).

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