GetManifestResourceInfo Method

Assembly.GetManifestResourceInfo Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

ExceptionCondition
ArgumentNullException

resourceName is null.

ArgumentException

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

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft