Click or drag to resize

AssembliesGetManifestResource Method (String)

Loads the specified manifest resource from this assembly.

Namespace:  Cauldron.Reflection
Assembly:  Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static byte[] GetManifestResource(
	string resourceInfoName
)

Parameters

resourceInfoName
Type: SystemString
The end of the fully qualified name of the embedded resource

Return Value

Type: Byte
The manifest resource; or null if no resources were specified during compilation or if the resource is not visible to the caller.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe resourceInfoName parameter is null
ArgumentException The resourceInfoName parameter is an empty string
FileLoadExceptionA file that was found could not be loaded.
FileNotFoundExceptionresourceInfoName was not found.
BadImageFormatExceptionresourceInfoName is not a valid assembly.
NotImplementedException Resource length is greater than MaxValue
See Also