IInspectionCompanion.MapProperties(IPropertyMapper) 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 the string names of the properties this companion knows about to integer IDs.
[Android.Runtime.Register("mapProperties", "(Landroid/view/inspector/PropertyMapper;)V", "GetMapProperties_Landroid_view_inspector_PropertyMapper_Handler:Android.Views.Inspectors.IInspectionCompanionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)]
public void MapProperties (Android.Views.Inspectors.IPropertyMapper propertyMapper);
[<Android.Runtime.Register("mapProperties", "(Landroid/view/inspector/PropertyMapper;)V", "GetMapProperties_Landroid_view_inspector_PropertyMapper_Handler:Android.Views.Inspectors.IInspectionCompanionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)>]
abstract member MapProperties : Android.Views.Inspectors.IPropertyMapper -> unit
Parameters
- propertyMapper
- IPropertyMapper
A PropertyMapper
maps string names to IDs.
- Attributes
Remarks
Map the string names of the properties this companion knows about to integer IDs.
Each companion is responsible for storing the integer IDs of all its properties. This is the only method that is allowed to modify the stored IDs.
Calling #readProperties(T, PropertyReader)
before calling this results in undefined behavior.
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.