<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Groupdocs API References – DataSourceInfo</title>
    <link>https://reference.groupdocs.com/assembly/net/groupdocs.assembly/datasourceinfo/</link>
    <description>Recent content in DataSourceInfo on Groupdocs API References</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    
	  <atom:link href="https://reference.groupdocs.com/assembly/net/groupdocs.assembly/datasourceinfo/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Net: DataSourceInfo</title>
      <link>https://reference.groupdocs.com/assembly/net/groupdocs.assembly/datasourceinfo/datasourceinfo/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://reference.groupdocs.com/assembly/net/groupdocs.assembly/datasourceinfo/datasourceinfo/</guid>
      <description>
        
        
        &lt;h2 id=&#34;constructor&#34;&gt;DataSourceInfo()&lt;/h2&gt;
&lt;p&gt;Creates a new instance of this class without any properties specified.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-csharp&#34; data-lang=&#34;csharp&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;public&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;DataSourceInfo&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;()&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;see-also&#34;&gt;See Also&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;class &lt;a href=&#34;../../datasourceinfo&#34;&gt;DataSourceInfo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;namespace &lt;a href=&#34;../../datasourceinfo&#34;&gt;GroupDocs.Assembly&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;assembly &lt;a href=&#34;../../../&#34;&gt;GroupDocs.Assembly&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id=&#34;constructor_1&#34;&gt;DataSourceInfo(object)&lt;/h2&gt;
&lt;p&gt;Creates a new instance of this class with the data source object specified.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-csharp&#34; data-lang=&#34;csharp&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;public&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;DataSourceInfo&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;kt&#34;&gt;object&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;dataSource&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;dataSource&lt;/td&gt;
&lt;td&gt;Object&lt;/td&gt;
&lt;td&gt;The data source object.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;remarks&#34;&gt;Remarks&lt;/h3&gt;
&lt;p&gt;The data source object can be of one of the following types:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;../../../groupdocs.assembly.data/xmldatasource&#34;&gt;&lt;code&gt;XmlDataSource&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../groupdocs.assembly.data/jsondatasource&#34;&gt;&lt;code&gt;JsonDataSource&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../groupdocs.assembly.data/csvdatasource&#34;&gt;&lt;code&gt;CsvDataSource&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../groupdocs.assembly.data/documenttableset&#34;&gt;&lt;code&gt;DocumentTableSet&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../groupdocs.assembly.data/documenttable&#34;&gt;&lt;code&gt;DocumentTable&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;DataSet&lt;/li&gt;
&lt;li&gt;DataTable&lt;/li&gt;
&lt;li&gt;DataRow&lt;/li&gt;
&lt;li&gt;IDataReader&lt;/li&gt;
&lt;li&gt;IDataRecord&lt;/li&gt;
&lt;li&gt;DataView&lt;/li&gt;
&lt;li&gt;DataRowView&lt;/li&gt;
&lt;li&gt;Any other arbitrary non-dynamic and non-anonymous .NET type&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For information on how to work with data sources of different types in template documents, see template syntax reference (&lt;a href=&#34;https://docs.groupdocs.com/display/assemblynet/Template+Syntax+-+Part+1+of+2#TemplateSyntax-Part1of2-UsingDataSources)&#34;&gt;https://docs.groupdocs.com/display/assemblynet/Template+Syntax+-+Part+1+of+2#TemplateSyntax-Part1of2-UsingDataSources)&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;see-also-1&#34;&gt;See Also&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;class &lt;a href=&#34;../../datasourceinfo&#34;&gt;DataSourceInfo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;namespace &lt;a href=&#34;../../datasourceinfo&#34;&gt;GroupDocs.Assembly&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;assembly &lt;a href=&#34;../../../&#34;&gt;GroupDocs.Assembly&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id=&#34;constructor_2&#34;&gt;DataSourceInfo(object, string)&lt;/h2&gt;
&lt;p&gt;Creates a new instance of this class with the data source object and its name specified.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-csharp&#34; data-lang=&#34;csharp&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;public&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;DataSourceInfo&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;kt&#34;&gt;object&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;dataSource&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;kt&#34;&gt;string&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;name&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;dataSource&lt;/td&gt;
&lt;td&gt;Object&lt;/td&gt;
&lt;td&gt;The data source object.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;name&lt;/td&gt;
&lt;td&gt;String&lt;/td&gt;
&lt;td&gt;The name of the data source object to be used to access the data source object in a template document.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;remarks-1&#34;&gt;Remarks&lt;/h3&gt;
&lt;p&gt;The data source object can be of one of the following types:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;../../../groupdocs.assembly.data/xmldatasource&#34;&gt;&lt;code&gt;XmlDataSource&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../groupdocs.assembly.data/jsondatasource&#34;&gt;&lt;code&gt;JsonDataSource&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../groupdocs.assembly.data/csvdatasource&#34;&gt;&lt;code&gt;CsvDataSource&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../groupdocs.assembly.data/documenttableset&#34;&gt;&lt;code&gt;DocumentTableSet&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../groupdocs.assembly.data/documenttable&#34;&gt;&lt;code&gt;DocumentTable&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;DataSet&lt;/li&gt;
&lt;li&gt;DataTable&lt;/li&gt;
&lt;li&gt;DataRow&lt;/li&gt;
&lt;li&gt;IDataReader&lt;/li&gt;
&lt;li&gt;IDataRecord&lt;/li&gt;
&lt;li&gt;DataView&lt;/li&gt;
&lt;li&gt;DataRowView&lt;/li&gt;
&lt;li&gt;Any other arbitrary non-dynamic and non-anonymous .NET type&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For information on how to work with data sources of different types in template documents, see template syntax reference (&lt;a href=&#34;https://docs.groupdocs.com/display/assemblynet/Template+Syntax+-+Part+1+of+2#TemplateSyntax-Part1of2-UsingDataSources)&#34;&gt;https://docs.groupdocs.com/display/assemblynet/Template+Syntax+-+Part+1+of+2#TemplateSyntax-Part1of2-UsingDataSources)&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When the name of the data source object is specified, you can access the data source object and its members in a template document using the name.&lt;/p&gt;
&lt;p&gt;When the name of the data source object is null or empty, you can still access members of the data source object in a template document using context object member access (see Template Syntax Reference for more information), but you cannot access the data source object itself.&lt;/p&gt;
&lt;p&gt;When passing multiple &lt;a href=&#34;../../datasourceinfo&#34;&gt;&lt;code&gt;DataSourceInfo&lt;/code&gt;&lt;/a&gt; instances to &lt;a href=&#34;../../documentassembler&#34;&gt;&lt;code&gt;DocumentAssembler&lt;/code&gt;&lt;/a&gt;, only the name of the first data source object can be null or empty. Names of the rest ones must be specified and unique.&lt;/p&gt;
&lt;h3 id=&#34;see-also-2&#34;&gt;See Also&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;class &lt;a href=&#34;../../datasourceinfo&#34;&gt;DataSourceInfo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;namespace &lt;a href=&#34;../../datasourceinfo&#34;&gt;GroupDocs.Assembly&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;assembly &lt;a href=&#34;../../../&#34;&gt;GroupDocs.Assembly&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.Assembly.dll --&gt;

      </description>
    </item>
    
    <item>
      <title>Net: DataSource</title>
      <link>https://reference.groupdocs.com/assembly/net/groupdocs.assembly/datasourceinfo/datasource/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://reference.groupdocs.com/assembly/net/groupdocs.assembly/datasourceinfo/datasource/</guid>
      <description>
        
        
        &lt;h2 id=&#34;datasourceinfodatasource-property&#34;&gt;DataSourceInfo.DataSource property&lt;/h2&gt;
&lt;p&gt;Gets or sets the data source object.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-csharp&#34; data-lang=&#34;csharp&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;public&lt;/span&gt; &lt;span class=&#34;kt&#34;&gt;object&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;DataSource&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;get&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;set&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;remarks&#34;&gt;Remarks&lt;/h3&gt;
&lt;p&gt;The data source object can be of one of the following types:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;../../../groupdocs.assembly.data/xmldatasource&#34;&gt;&lt;code&gt;XmlDataSource&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../groupdocs.assembly.data/jsondatasource&#34;&gt;&lt;code&gt;JsonDataSource&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../groupdocs.assembly.data/csvdatasource&#34;&gt;&lt;code&gt;CsvDataSource&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../groupdocs.assembly.data/documenttableset&#34;&gt;&lt;code&gt;DocumentTableSet&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../groupdocs.assembly.data/documenttable&#34;&gt;&lt;code&gt;DocumentTable&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;DataSet&lt;/li&gt;
&lt;li&gt;DataTable&lt;/li&gt;
&lt;li&gt;DataRow&lt;/li&gt;
&lt;li&gt;IDataReader&lt;/li&gt;
&lt;li&gt;IDataRecord&lt;/li&gt;
&lt;li&gt;DataView&lt;/li&gt;
&lt;li&gt;DataRowView&lt;/li&gt;
&lt;li&gt;Any other arbitrary non-dynamic and non-anonymous .NET type&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For information on how to work with data sources of different types in template documents, see template syntax reference (&lt;a href=&#34;https://docs.groupdocs.com/display/assemblynet/Template+Syntax+-+Part+1+of+2#TemplateSyntax-Part1of2-UsingDataSources)&#34;&gt;https://docs.groupdocs.com/display/assemblynet/Template+Syntax+-+Part+1+of+2#TemplateSyntax-Part1of2-UsingDataSources)&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;see-also&#34;&gt;See Also&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;class &lt;a href=&#34;../../datasourceinfo&#34;&gt;DataSourceInfo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;namespace &lt;a href=&#34;../../datasourceinfo&#34;&gt;GroupDocs.Assembly&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;assembly &lt;a href=&#34;../../../&#34;&gt;GroupDocs.Assembly&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.Assembly.dll --&gt;

      </description>
    </item>
    
    <item>
      <title>Net: Name</title>
      <link>https://reference.groupdocs.com/assembly/net/groupdocs.assembly/datasourceinfo/name/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://reference.groupdocs.com/assembly/net/groupdocs.assembly/datasourceinfo/name/</guid>
      <description>
        
        
        &lt;h2 id=&#34;datasourceinfoname-property&#34;&gt;DataSourceInfo.Name property&lt;/h2&gt;
&lt;p&gt;Gets or sets the name of the data source object to be used to access the data source object in a template document.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-csharp&#34; data-lang=&#34;csharp&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;public&lt;/span&gt; &lt;span class=&#34;kt&#34;&gt;string&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Name&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;get&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;set&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;remarks&#34;&gt;Remarks&lt;/h3&gt;
&lt;p&gt;When the name of the data source object is specified, you can access the data source object and its members in a template document using the name.&lt;/p&gt;
&lt;p&gt;When the name of the data source object is null or empty, you can still access members of the data source object in a template document using context object member access (see Template Syntax Reference for more information), but you cannot access the data source object itself.&lt;/p&gt;
&lt;p&gt;When passing multiple &lt;a href=&#34;../../datasourceinfo&#34;&gt;&lt;code&gt;DataSourceInfo&lt;/code&gt;&lt;/a&gt; instances to &lt;a href=&#34;../../documentassembler&#34;&gt;&lt;code&gt;DocumentAssembler&lt;/code&gt;&lt;/a&gt;, only the name of the first data source object can be null or empty. Names of the rest ones must be specified and unique.&lt;/p&gt;
&lt;h3 id=&#34;see-also&#34;&gt;See Also&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;class &lt;a href=&#34;../../datasourceinfo&#34;&gt;DataSourceInfo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;namespace &lt;a href=&#34;../../datasourceinfo&#34;&gt;GroupDocs.Assembly&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;assembly &lt;a href=&#34;../../../&#34;&gt;GroupDocs.Assembly&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.Assembly.dll --&gt;

      </description>
    </item>
    
  </channel>
</rss>
