Method OpenAsync
OpenAsync(PortalItem)
Opens a DictionarySymbolStyle from a portal item. The portal item must be a dictionary web style.
Declaration
public static async Task<DictionarySymbolStyle> OpenAsync(PortalItem portalItem)
Parameters
Type | Name | Description |
---|---|---|
PortalItem | portalItem | If you have the item id of a style file, you can search the portal to find the item using its item id. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DictionarySymbolStyle> |
Remarks
Use this constructor if you have a reference to a dictionary web style portal item.
Exceptions
Type | Condition |
---|---|
ArcGISRuntimeException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.10 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.10 - 200.6 |
Xamarin.Android | 100.10 - 100.15 |
Xamarin.iOS | 100.10 - 100.15 |
UWP | 100.10 - 200.6 |
OpenAsync(Uri)
Opens a new DictionarySymbolStyle from a dictionary web style item Uri.
Declaration
public static async Task<DictionarySymbolStyle> OpenAsync(Uri source)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | source | Dictionary webstyle item Uri. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DictionarySymbolStyle> | The dictionary symbol style |
Remarks
A dictionary symbol style using style item's Uri. Uri not pointing to a dictionary symbol style will throw
Exceptions
Type | Condition |
---|---|
ArcGISRuntimeException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.10 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.10 - 200.6 |
Xamarin.Android | 100.10 - 100.14 |
Xamarin.iOS | 100.10 - 100.15 |
UWP | 100.10 - 200.6 |