_Assembly.GetManifestResourceStream Method

Definition

Provides COM objects with version-independent access to the GetManifestResourceStream methods.

Overloads

GetManifestResourceStream(Type, String)

Provides COM objects with version-independent access to the GetManifestResourceStream(Type, String) method.

GetManifestResourceStream(String)

Provides COM objects with version-independent access to the GetManifestResourceStream(String) method.

Remarks

This method is for access to managed classes from unmanaged code, and should not be called from managed code.

The GetManifestResourceStream methods load the specified manifest resource from this assembly.

GetManifestResourceStream(Type, String)

Provides COM objects with version-independent access to the GetManifestResourceStream(Type, String) method.

public:
 System::IO::Stream ^ GetManifestResourceStream(Type ^ type, System::String ^ name);
public System.IO.Stream GetManifestResourceStream (Type type, string name);
abstract member GetManifestResourceStream : Type * string -> System.IO.Stream
Public Function GetManifestResourceStream (type As Type, name As String) As Stream

Parameters

type
Type

The type whose namespace is used to scope the manifest resource name.

name
String

The case-sensitive name of the manifest resource being requested.

Returns

Stream

A Stream representing this manifest resource.

Remarks

This method is for access to managed classes from unmanaged code, and should not be called from managed code.

The GetManifestResourceStream method loads the specified manifest resource, scoped by the namespace of the specified type, from this assembly.

See also

Applies to

GetManifestResourceStream(String)

Provides COM objects with version-independent access to the GetManifestResourceStream(String) method.

public:
 System::IO::Stream ^ GetManifestResourceStream(System::String ^ name);
public System.IO.Stream GetManifestResourceStream (string name);
abstract member GetManifestResourceStream : string -> System.IO.Stream
Public Function GetManifestResourceStream (name As String) As Stream

Parameters

name
String

The case-sensitive name of the manifest resource being requested.

Returns

Stream

A Stream representing this manifest resource.

Remarks

This method is for access to managed classes from unmanaged code, and should not be called from managed code.

The GetManifestResourceStream method loads the specified manifest resource from this assembly.

See also

Applies to