LinqConnect Documentation
Devart.Data.Linq.Mapping Namespace / XmlMappingSource Class / FromResource Method / FromResource(String) Method
The name of the resource.

In This Topic
    FromResource(String) Method
    In This Topic
    Initializes a new instance of the XmlMappingSource class from a resource.
    Syntax
    'Declaration
     
    Public Overloads Shared Function FromResource( _
       ByVal resName As String _
    ) As XmlMappingSource
    public static XmlMappingSource FromResource( 
       string resName
    )

    Parameters

    resName
    The name of the resource.

    Return Value

    New instance of the XmlMappingSource class.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also