Compartir a través de


DataSupport.CreateXmlResourceManager Method

Definition

Overloads

CreateXmlResourceManager(String, Assembly)

Creates a ResourceManager object instance that is able to read managed resources that end with the .xml file extension.

CreateXmlResourceManager(String, String)

Creates a ResourceManager object instance that is able to read XML files from a file at a specific location on disk.

CreateXmlResourceManager(String, Assembly)

Creates a ResourceManager object instance that is able to read managed resources that end with the .xml file extension.

protected:
 static System::Resources::ResourceManager ^ CreateXmlResourceManager(System::String ^ resourceName, System::Reflection::Assembly ^ assembly);
protected static System.Resources.ResourceManager CreateXmlResourceManager (string resourceName, System.Reflection.Assembly assembly);
static member CreateXmlResourceManager : string * System.Reflection.Assembly -> System.Resources.ResourceManager
Protected Shared Function CreateXmlResourceManager (resourceName As String, assembly As Assembly) As ResourceManager

Parameters

resourceName
String

The name of the managed resource without the .xml file extension.

assembly
Assembly

The assembly that contains the resource.

Returns

Returns a ResourceManager object able to read managed resources that end with the extension ".xml".

Exceptions

The resourceName and/or assembly parameters are null.

Applies to

CreateXmlResourceManager(String, String)

Creates a ResourceManager object instance that is able to read XML files from a file at a specific location on disk.

protected:
 static System::Resources::ResourceManager ^ CreateXmlResourceManager(System::String ^ fileName, System::String ^ path);
protected static System.Resources.ResourceManager CreateXmlResourceManager (string fileName, string path);
static member CreateXmlResourceManager : string * string -> System.Resources.ResourceManager
Protected Shared Function CreateXmlResourceManager (fileName As String, path As String) As ResourceManager

Parameters

fileName
String

The unqualified name of the resource file.

path
String

The path to the file.

Returns

A ResourceManager object able to read XML files from a specific location on disk.

Exceptions

The fileName and/or path parameters are null.

Applies to