次の方法で共有


AssemblyBuilder.GetManifestResourceStream Method (Type, String)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Namespace:  System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Overrides Function GetManifestResourceStream ( _
    type As Type, _
    name As String _
) As Stream
public override Stream GetManifestResourceStream(
    Type type,
    string name
)

Parameters

  • type
    Type: System.Type
    The type whose namespace is used to scope the manifest resource name.
  • name
    Type: System.String
    The name of the manifest resource being requested.

Return Value

Type: System.IO.Stream
The manifest resource.

Exceptions

Exception Condition
NotSupportedException

This method is not currently supported.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.