BitmapDataExtensionsEndGetColors Method
Waits for the pending asynchronous operation started by the
BeginGetColors method to complete.
In .NET Framework 4.0 and above you can use the
GetColorsAsync method instead.
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
public static ICollection<Color32> EndGetColors(
this IAsyncResult asyncResult
)
<ExtensionAttribute>
Public Shared Function EndGetColors (
asyncResult As IAsyncResult
) As ICollection(Of Color32)
public:
[ExtensionAttribute]
static ICollection<Color32>^ EndGetColors(
IAsyncResult^ asyncResult
)
[<ExtensionAttribute>]
static member EndGetColors :
asyncResult : IAsyncResult -> ICollection<Color32>
- asyncResult IAsyncResult
- The reference to the pending asynchronous request to finish.
ICollectionColor32An
ICollectionT of
Color32 entries that is the result of the operation.
If the operation was canceled and the
ThrowIfCanceled property of the
asyncConfig parameter was
, then an empty collection is returned.In Visual Basic and C#, you can call this method as an instance method on any object of type
IAsyncResult. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).