Export (0) Print
Expand All

Assembly.GetManifestResourceStream Method

Loads the specified manifest resource from this assembly.

Overload List

Loads the specified manifest resource from this assembly.

Supported by the .NET Compact Framework.

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

Loads the specified manifest resource, scoped by the namespace of the specified type, from this assembly.

Supported by the .NET Compact Framework.

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

Example

If the full name of type is "MyNameSpace.MyClasses" and name is "Net", GetManifestResourceStream will search for a resource named MyNameSpace.Net.

See Also

Assembly Class | Assembly Members | System.Reflection Namespace

Show:
© 2014 Microsoft