NDoc 1.3.1 SDK |

# EmbeddedResources.WriteEmbeddedResource Method

Writes an embedded resource to disk.

    [Visual Basic]
    Shared Public Sub WriteEmbeddedResource( _
       ByVal assembly As Assembly, _
       ByVal name As String, _
       ByVal directory As String, _
       ByVal filename As String _
    )
    [C#]
    public static void WriteEmbeddedResource(
       Assembly assembly,
       string name,
       string directory,
       string filename
    );
    [C++]
    public: static void WriteEmbeddedResource(
       Assembly* assembly,
       String* name,
       String* directory,
       String* filename
    );
    [JScript]
    public static function WriteEmbeddedResource(
       Assembly assembly,
       String name,
       String directory,
       String filename
    );

#### Parameters

assembly
  The assembly containing the embedded resource.
name
  The name of the embedded resource.
directory
  The directory to write the resource to.
filename
  The filename of the resource on disk.

#### See Also

EmbeddedResources Class | NDoc.Core Namespace