Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Assembly::GetManifestResourceInfo Method (String^)

 

Returns information about how the given resource has been persisted.

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

public:
virtual ManifestResourceInfo^ GetManifestResourceInfo(
	String^ resourceName
)

Parameters

resourceName
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
ArgumentNullException

resourceName is null.

ArgumentException

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.

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
Show:
© 2017 Microsoft