Partager via


ResourceHandler.GetEmbeddedXml Method (String, String)

 

Retrieves the stream that represents the embedded XML file within an assembly.

Namespace:   Microsoft.WindowsServerSolutions.Common
Assembly:  AdminCommon (in AdminCommon.dll)

Syntax

public Stream GetEmbeddedXml(
    string xmlExtension,
    string resourcesExtension
)
public:
Stream^ GetEmbeddedXml(
    String^ xmlExtension,
    String^ resourcesExtension
)
Public Function GetEmbeddedXml (
    xmlExtension As String,
    resourcesExtension As String
) As Stream

Parameters

  • xmlExtension
    Type: System.String

    The file name extension for the XML file that needs to be retrieved from the assembly (for example, .xml or .home).

  • resourcesExtension
    Type: System.String

    The file name extension for the resources file that needs to be used for creating the resource manager (for example, .LaunchPad.resources or .Home.resources).

Return Value

Type: System.IO.Stream

A System.IO.Stream.

See Also

ResourceHandler Class
Microsoft.WindowsServerSolutions.Common Namespace

Return to top