Show / Hide Table of Contents

Method SetAttributeValue

SetAttributeValue(String, Nullable<Object>)

Looks up attribute by name and updates attribute to the specified value.

Declaration
public void SetAttributeValue(string attributeName, object? attributeValue)
Parameters
Type Name Description
String attributeName

The name of the attribute.

System.Nullable<System.Object> attributeValue

Value to be set on the attribute. See Attributes for details on acceptable values.

Applies to

Platforms and versions
TargetVersions
UWP100.15

SetAttributeValue(Field, Nullable<Object>)

Looks up attribute by Field and updates attribute to the specified value.

Declaration
public void SetAttributeValue(Field field, object? attributeValue)
Parameters
Type Name Description
Field field

The Field that corresponds to the attribute.

System.Nullable<System.Object> attributeValue

Value to be set on the attribute. See Attributes for details on acceptable values.

Applies to

Platforms and versions
TargetVersions
UWP100.15
In This Article
Back to top Copyright © 2022 Esri.