Method GetAttributesAsync
GetAttributesAsync(String, FeatureTable)
Returns a collection of attributes used in the script for a given profile variable.
Declaration
public async Task<IReadOnlyList<string>> GetAttributesAsync(string variableName, FeatureTable attributeNameSource)
Parameters
Type | Name | Description |
---|---|---|
System. |
variableName | The name of the profile variable whose used attributes are required. |
Feature |
attributeNameSource | A Feature |
Returns
Type | Description |
---|---|
System. |
A task object representing the asynchronous retrieval of the attributes looked up on a profile
variable in the script. The value of the task result is a collection of System. |
Remarks
To fully support the wildcard expansion in the expects statement, calculation of used attributes on a profile variable requires an object that can supply a full set of attribute names.
Exceptions
Type | Condition |
---|---|
System. |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |
GetAttributesAsync(String, GeoElement)
Returns a collection of attributes used in the script for a given profile variable.
Declaration
public async Task<IReadOnlyList<string>> GetAttributesAsync(string variableName, GeoElement attributeNameSource)
Parameters
Type | Name | Description |
---|---|---|
System. |
variableName | The name of the profile variable whose used attributes are required. |
Geo |
attributeNameSource | A Geo |
Returns
Type | Description |
---|---|
System. |
A task object representing the asynchronous retrieval of the attributes looked up on a profile
variable in the script. The value of the task result is a collection of System. |
Remarks
To fully support the wildcard expansion in the expects statement, calculation of used attributes on a profile variable requires an object that can supply a full set of attribute names.
Exceptions
Type | Condition |
---|---|
System. |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |