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
public virtual ManifestResourceInfo GetManifestResourceInfo(
 string resourceName
public: virtual ManifestResourceInfo* GetManifestResourceInfo(
 String* resourceName
public function GetManifestResourceInfo(
   resourceName : String
) : ManifestResourceInfo;


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.


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


This method works on both public and private resources.


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

© 2014 Microsoft