Attributes Constructors

Definition

Overloads

Attributes()

Constructs a new, empty Attributes object with default size.

Attributes(Attributes)

Constructs a new Attributes object with the same attribute name-value mappings as in the specified Attributes.

Attributes(Int32)

Constructs a new, empty Attributes object with the specified initial size.

Attributes(IntPtr, JniHandleOwnership)

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

Attributes()

Constructs a new, empty Attributes object with default size.

[Android.Runtime.Register(".ctor", "()V", "")]
public Attributes ();
Attributes

Remarks

Constructs a new, empty Attributes object with default size.

Java documentation for java.util.jar.Attributes.Attributes().

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(Attributes)

Constructs a new Attributes object with the same attribute name-value mappings as in the specified Attributes.

[Android.Runtime.Register(".ctor", "(Ljava/util/jar/Attributes;)V", "")]
public Attributes (Java.Util.Jar.Attributes? attr);
[<Android.Runtime.Register(".ctor", "(Ljava/util/jar/Attributes;)V", "")>]
new Java.Util.Jar.Attributes : Java.Util.Jar.Attributes -> Java.Util.Jar.Attributes

Parameters

attr
Attributes

the specified Attributes

Attributes

Remarks

Constructs a new Attributes object with the same attribute name-value mappings as in the specified Attributes.

Java documentation for java.util.jar.Attributes.Attributes(java.util.jar.Attributes).

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(Int32)

Constructs a new, empty Attributes object with the specified initial size.

[Android.Runtime.Register(".ctor", "(I)V", "")]
public Attributes (int size);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Java.Util.Jar.Attributes : int -> Java.Util.Jar.Attributes

Parameters

size
Int32

the initial number of attributes

Attributes

Remarks

Constructs a new, empty Attributes object with the specified initial size.

Java documentation for java.util.jar.Attributes.Attributes(int).

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(IntPtr, JniHandleOwnership)

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

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

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