IPropertyMapper.MapObject(String, Int32) 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.
Map a string name to an integer ID for an object property.
[Android.Runtime.Register("mapObject", "(Ljava/lang/String;I)I", "GetMapObject_Ljava_lang_String_IHandler:Android.Views.Inspectors.IPropertyMapperInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)]
public int MapObject (string name, int attributeId);
[<Android.Runtime.Register("mapObject", "(Ljava/lang/String;I)I", "GetMapObject_Ljava_lang_String_IHandler:Android.Views.Inspectors.IPropertyMapperInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)>]
abstract member MapObject : string * int -> int
Parameters
- name
- String
The name of the property
- attributeId
- Int32
The attribute resource ID of this property, or Resources#ID_NULL
Returns
An integer ID for the property
- Attributes
Remarks
Map a string name to an integer ID for an object property.
Java documentation for android.view.inspector.PropertyMapper.mapObject(java.lang.String, 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.