Assembly.GetManifestResourceInfo Method (String)


Returns information about how the given resource has been persisted.

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

Public Overridable Function GetManifestResourceInfo (
	resourceName As String
) As ManifestResourceInfo


Type: System.String

The case-sensitive name of the resource.

Return Value

Type: System.Reflection.ManifestResourceInfo

An object that is populated with information about the resource's topology, or null if the resource is not found.

Exception Condition

resourceName is null.


The resourceName parameter is an empty string ("").

Resource information is returned only if the resource is visible to the caller, or the caller has ReflectionPermission.


when invoked late-bound through mechanisms such as Type.InvokeMember. Associated enumeration: ReflectionPermissionFlag.MemberAccess

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top