WebSiteGetConfigurationResponse.DefaultDocuments 属性
Gets or sets a collection that contains, in order of preference, the names of the files that a web site returns when the web site's domain name is requested by itself.
命名空间: Microsoft.WindowsAzure.Management.WebSites.Models
程序集: Microsoft.WindowsAzure.Management.WebSites(在 Microsoft.WindowsAzure.Management.WebSites.dll 中)
使用
用法
Dim instance As WebSiteGetConfigurationResponse
Dim value As IList(Of String)
value = instance.DefaultDocuments
instance.DefaultDocuments = value
语法
声明
Public Property DefaultDocuments As IList(Of String)
public IList<string> DefaultDocuments { get; set; }
public:
property IList<String^>^ DefaultDocuments {
IList<String^>^ get ();
void set (IList<String^>^ value);
}
/** @property */
public IList<String> get_DefaultDocuments ()
/** @property */
public void set_DefaultDocuments (IList<String> value)
public function get DefaultDocuments () : IList<String>
public function set DefaultDocuments (value : IList<String>)
属性值
A collection of file names.
备注
For example, if the default document for https://contoso.com is default.htm, the page https://www.contoso.com/default.htm is returned when the browser is pointed to https://www.contoso.com.
线程安全
此类型的所有公开静态(在 Visual Basic 中为共享)成员均为线程安全型成员。但不保证所有实例成员都是线程安全的。
平台
开发平台
Windows Vista、Windows 7 和 Windows Server 2008
目标平台
另请参阅
参考
WebSiteGetConfigurationResponse 类
WebSiteGetConfigurationResponse 成员
Microsoft.WindowsAzure.Management.WebSites.Models 命名空间