Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetManifestResourceStream Method (String)
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft