TK.GetImageIDFromNameAsync Method

Retrieves the image ID based on the provided image name (Async).
Public Shared Function GetImageIDFromNameAsync( _ 
ByVal name As String
) As Task(Of Integer)
This language is not supported or no code example is available.
public static Task<int> GetImageIDFromNameAsync( 
string name 
)
This language is not supported or no code example is available.

Parameters

name
string

The name of the image to look up.

Return Value

Task<int>

The ID of the image that matches the provided name.

.NET Framework

Supported in: 4.8

In this article

Definition