Edit

Share via


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);
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

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

resourceName is null.

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.

Applies to

See also