| Visual Basic (Declaration) | |
|---|---|
Public Property Name As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public string Name {get; set;} | |
Return Value
A string value that represents the name of the document.| C# | Copy Code |
|---|---|
private void btnPrint_Click(object
sender, System.EventArgs e) | |
| Visual Basic | Copy Code |
|---|---|
Private Sub btnPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrint.Click | |
The name of the document appears in the print job listing of the printer when the document is printed.