Export (0) Print
Expand All

Assembly.GetManifestResourceStream Method (String)

.NET Framework 1.1

Loads the specified manifest resource from this assembly.

[Visual Basic]
Overloads Public Overridable Function GetManifestResourceStream( _
   ByVal name As String _
) As Stream
[C#]
public virtual Stream GetManifestResourceStream(
 string name
);
[C++]
public: virtual Stream* GetManifestResourceStream(
 String* name
);
[JScript]
public function GetManifestResourceStream(
   name : String
) : Stream;

Parameters

name
The name of the manifest resource being requested.

Return Value

A Stream representing this manifest resource.

Exceptions

Exception Type Condition
ArgumentNullException The name parameter is a null reference (Nothing in Visual Basic).
ArgumentException The name parameter is the empty string ("").
SecurityException The caller does not have the required permission.

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 Compact Framework

.NET Framework Security: 

See Also

Assembly Class | Assembly Members | System.Reflection Namespace | Assembly.GetManifestResourceStream Overload List | Assembly Manifest

Show:
© 2014 Microsoft