Export (0) Print
Expand All

Assembly.GetManifestResourceInfo Method

Returns information about how the given resource has been persisted.

[Visual Basic]
Public Overridable Function GetManifestResourceInfo( _
   ByVal resourceName As String _
) As ManifestResourceInfo
[C#]
public virtual ManifestResourceInfo GetManifestResourceInfo(
 string resourceName
);
[C++]
public: virtual ManifestResourceInfo* GetManifestResourceInfo(
 String* resourceName
);
[JScript]
public function GetManifestResourceInfo(
   resourceName : String
) : ManifestResourceInfo;

Parameters

resourceName
The name of the resource.

Return Value

ManifestResourceInfo populated with information about the resource's topology, or a null reference (Nothing in Visual Basic) if the resource is not found.

Exceptions

Exception Type Condition
ArgumentNullException resourceName is a null reference (Nothing in Visual Basic).
ArgumentException The resourceName parameter is the empty string ("").

Remarks

This method works on both public and private resources.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

Assembly Class | Assembly Members | System.Reflection Namespace

Show:
© 2014 Microsoft