DefaultDoc Property

MSBuild

The DefaultDoc contains one or more file names of default documents that will be returned to the client if no file name is included in the client's request. The default document will be returned if the EnableDefaultDoc flag of the DirBrowseFlags property is set to true for the directory. This property can contain a list of default document file names separated by a comma and a space, for example Default.htm, Default.asp.


Namespace: MSBuild.Community.Tasks.IIS
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
Public Property DefaultDoc As String
C#
public string DefaultDoc { get; set; }
C++
public property string DefaultDoc sealed  {
    String get();
    void set(String value);
}
J#
/** property */
public string get_DefaultDoc();

/** property */
public void set_DefaultDoc(string value);
JScript
public function get DefaultDoc() : String

public function set DefaultDoc(value : String);

Property Value

Listing of the default documents for the web application.

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.