Moonware.Common
LoadFromResource Method



XML File content
Whether is the file encrypted
Loads all templates from provided File
Syntax
'Declaration
 
Public Function LoadFromResource( _
   ByVal xmlContent As String, _
   Optional ByVal encrypted As Boolean _
) As Boolean
'Usage
 
Dim instance As TemplateCollection
Dim xmlContent As String
Dim encrypted As Boolean
Dim value As Boolean
 
value = instance.LoadFromResource(xmlContent, encrypted)
public bool LoadFromResource( 
   string xmlContent,
   bool encrypted
)
public:
bool LoadFromResource( 
   String^ xmlContent,
   bool encrypted
) 

Parameters

xmlContent
XML File content
encrypted
Whether is the file encrypted

Return Value

True for Ok
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

Reference

TemplateCollection Class
TemplateCollection Members

Send Feedback