[Diese Dokumentation ist noch nicht fertig und kann sich bis zur entgültigen Version noch ändern.]
Assembly: DNWinApp (in DNWinApp.exe) Version: 1.4.4679.19840 (1.4.0.0)
Gibt ein Asset vom Type des Typen-Parameters T zurück.
Namespace: DynamicNode.WinAppAssembly: DNWinApp (in DNWinApp.exe) Version: 1.4.4679.19840 (1.4.0.0)
Syntax
| C# |
|---|
public T GetAsset<T>() |
| Visual Basic |
|---|
Public Function GetAsset(Of T) As T |
| F# |
|---|
abstract GetAsset : unit -> 'T override GetAsset : unit -> 'T |
Type Parameters
- T
- Der Type des gesuchten Assets.
Return Value
Das Asset.
Exceptions
| Exception | Condition |
|---|---|
| System.Collections.Generic..::..KeyNotFoundException | Wird geworfen, wenn das gesuchte Asset nicht registriert ist. |