AssemblyBuilder.CreateEmbeddedResource Method
.NET Framework 2.0
Allows a build provider to create a resource file to include in the assembly compilation.
Namespace: System.Web.Compilation
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public Stream CreateEmbeddedResource ( BuildProvider buildProvider, String name )
public function CreateEmbeddedResource ( buildProvider : BuildProvider, name : String ) : Stream
Not applicable.
Parameters
- buildProvider
The build provider generating the resource.
- name
The name of the resource file to be created.
Return Value
An open Stream that can be used to write resources, which are included in the assembly compilation.After calling the CreateEmbeddedResource method, a BuildProvider object writes the resource file contents using the returned Stream object. For example, the build provider can write the resources using a ResourceWriter object. After writing the resource file, the build provider must use the Close method to close the Stream object and free associated system resources.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: