Share via


Attributes.Name Constructors

Definition

Overloads

Attributes.Name(String)

Constructs a new attribute name using the given string name.

Attributes.Name(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Attributes.Name(String)

Constructs a new attribute name using the given string name.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public Name (string name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Util.Jar.Attributes.Name : string -> Java.Util.Jar.Attributes.Name

Parameters

name
String

the attribute string name

Attributes

Remarks

Constructs a new attribute name using the given string name.

Java documentation for java.util.jar.Attributes.Name.Attributes$Name(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

Attributes.Name(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected Name (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Jar.Attributes.Name : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Jar.Attributes.Name

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

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.

Applies to