Proxy.Type.ValueOf(String) 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.
Returns the enum constant with the specified name.
[Android.Runtime.Register("valueOf", "(Ljava/lang/String;)Ljava/net/Proxy$Type;", "")]
public static Java.Net.Proxy.Type ValueOf(string name);
[<Android.Runtime.Register("valueOf", "(Ljava/lang/String;)Ljava/net/Proxy$Type;", "")>]
static member ValueOf : string -> Java.Net.Proxy.Type
Parameters
- name
- String
The name of the enum constant to be returned.
Returns
The enum constant with the specified name.
- Attributes
Exceptions
If this enum class has no constant with the specified name.
If the argument is null.
Remarks
The string must match exactly an identifier used to declare an enum constant in this class. Extraneous whitespace characters are not permitted.
Java documentation for java.net.Proxy.Type.valueOf(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.