TableLogOnInfos.Item Property

Gets the object at the specified index. In C#, this property is the indexer for the TableLogonInfo class.

Overload List

Description
TableLogOnInfos.Item Property (Integer) Gets the object at the specified index. In C#, this property is the indexer for the TableLogonInfo class.
TableLogOnInfos.Item Property (String) Gets the object with the specified name. In C#, this property is the indexer for the TableLogonInfo class.
TableLogOnInfos.Item Property (String,String) Gets the object with the specified table name and report name. In C#, this property is the indexer for the TableLogonInfo class.

Example

This example shows how to get the first logon info with specified index.

'Declaration

    Private Function GetFirstLogOnInfo(ByVal myCrystalReportViewer As CrystalReportViewer) As TableLogOnInfo
      GetFirstLogOnInfo = myCrystalReportViewer.LogOnInfo(1)
    End Function
    private TableLogOnInfo GetFirstLogOnInfo(CrystalReportViewer crystalReportViewer)
    {
      return crystalReportViewer.LogOnInfo[0];
    }

See Also

Reference

TableLogOnInfos Class
TableLogOnInfos Members
CrystalDecisions.Shared Namespace