Assembly.GetManifestResourceInfo(String) Assembly.GetManifestResourceInfo(String) Assembly.GetManifestResourceInfo(String) Assembly.GetManifestResourceInfo(String) Method

Definition

Returns information about how the given resource has been persisted.

public:
 virtual System::Reflection::ManifestResourceInfo ^ GetManifestResourceInfo(System::String ^ resourceName);
public virtual System.Reflection.ManifestResourceInfo GetManifestResourceInfo (string resourceName);
abstract member GetManifestResourceInfo : string -> System.Reflection.ManifestResourceInfo
override this.GetManifestResourceInfo : string -> System.Reflection.ManifestResourceInfo
Public Overridable Function GetManifestResourceInfo (resourceName As String) As ManifestResourceInfo

Parameters

resourceName
String String String String

The case-sensitive name of the resource.

Returns

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

Implements

Exceptions

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

Remarks

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

Security

ReflectionPermission
when invoked late-bound through mechanisms such as InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]). Associated enumeration: MemberAccess

Applies to

See also