MarkLogic XCC/.Net Library |

# ContentFetcher.Main Method

Command-line main() method to fetch a document.

[Visual Basic]
<STAThread>
Public Shared Sub Main( _
ByVal args As String() _
)
[C#]
[STAThread]
public static void Main(
string[] args
);

#### Parameters

args
  Arg 1: A server URL as per ContentSourceFactory.newContentSource(URI). Arg 2: A document URI. Optional Args 3 and 4: "-o outputfilename"

#### See Also

ContentFetcher Class | Marklogic.Xcc.Examples Namespace