Loads the specified resource, scoped by the namespace of the specified type, from this assembly.
[Visual Basic] Overloads Overridable Public Function GetManifestResourceStream( _ ByVal type As Type, _ ByVal name As String _ ) As Stream [C#] public virtual Stream GetManifestResourceStream( Type type, string name ); [C++] public: virtual Stream* GetManifestResourceStream( Type* type, String* name ); [JScript] public function GetManifestResourceStream( type : Type, name : String ) : Stream;
A Stream representing this resource.
The returned Stream has its file pointer set to the beginning of the resource.
For example, if the full name of type is "MyNameSpace.Foo"
and name is "Bar"
, System.Reflection.Assembly.GetManifestResourceName will search for a resource named "MyNameSpace.Bar"
.
Assembly Class | Assembly Members | System.Reflection Namespace | Assembly.GetManifestResourceStream Overload List