Share via


ExifInterface.HasAttribute(String) Method

Definition

Returns true if the image file has the given attribute defined.

[Android.Runtime.Register("hasAttribute", "(Ljava/lang/String;)Z", "GetHasAttribute_Ljava_lang_String_Handler", ApiSince=29)]
public virtual bool HasAttribute (string tag);
[<Android.Runtime.Register("hasAttribute", "(Ljava/lang/String;)Z", "GetHasAttribute_Ljava_lang_String_Handler", ApiSince=29)>]
abstract member HasAttribute : string -> bool
override this.HasAttribute : string -> bool

Parameters

tag
String

the name of the tag.

Returns

Attributes

Remarks

Returns true if the image file has the given attribute defined.

Java documentation for android.media.ExifInterface.hasAttribute(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