UtilResourceGetEmbeddedResource(String) Method
Gets an embedded resource 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 byte[] GetEmbeddedResource(
string name
)
Public Shared Function GetEmbeddedResource (
name As String
) As Byte()
Dim name As String
Dim returnValue As Byte()
returnValue = UtilResource.GetEmbeddedResource(name)
public:
static array<unsigned char>^ GetEmbeddedResource(
String^ name
)
static member GetEmbeddedResource :
name : string -> byte[]
No code example is currently available or this language may not be supported.
- name String
-
The name of the resource.
Byte
A
Byte array containing the bytes of the embedded resource.
This is a code example.
No code example is currently available or this language may not be supported.
Dim data As Byte() = GetEmbeddedResource("file.txt")
Dim str As String = Encoding.Default.GetString(data)
Console.WriteLine(str)
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.