UtilResourceGetResourcesOfT Method
Gets the resources of the specified type in the calling assembly.
Namespace: DevCase.Core.Application.ResourcesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static IEnumerable<DictionaryEntry> GetResourcesOf<T>(
CultureInfo culture = null
)
Public Shared Function GetResourcesOf(Of T) (
Optional culture As CultureInfo = Nothing
) As IEnumerable(Of DictionaryEntry)
Dim culture As CultureInfo
Dim returnValue As IEnumerable(Of DictionaryEntry)
returnValue = UtilResource.GetResourcesOf(culture)
public:
generic<typename T>
static IEnumerable<DictionaryEntry>^ GetResourcesOf(
CultureInfo^ culture = nullptr
)
static member GetResourcesOf :
?culture : CultureInfo
(* Defaults:
let _culture = defaultArg culture null
*)
-> IEnumerable<DictionaryEntry>
No code example is currently available or this language may not be supported.
- culture CultureInfo (Optional)
-
The resource culture
- T
-
The type of the resource to find.
IEnumerableDictionaryEntryIEnumerableT.
This is a code example to get all String resources.
No code example is currently available or this language may not be supported.
Dim resources As IEnumerable(Of DictionaryEntry) = GetResourcesOf(Of Bitmap)()
For Each resource As DictionaryEntry In resources
MsgBox(resource.Key) ' Resource Name
MsgBox(resource.Value.ToString()) ' Resource Data
Next resource
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.