Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property Document As System.Xml.XmlDocument |
C# | |
---|---|
public System.Xml.XmlDocument Document {get;} |
C# | Copy Code |
---|---|
Private void rpt_ReportStart(object sender, System.EventArgs eArgs) { System.Windows.Forms.MessageBox.Show (this.ds.Document.BaseURI.ToString()); } |
Visual Basic | Copy Code |
---|---|
Private Sub rpt_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart MsgBox(Me.ds.Document.BaseURI.ToString) End Sub |