Share via


ProxyElement.AutoDetect 屬性

定義

取得或設定 ProxyElement.AutoDetectValues 值,該值控制是否自動偵測 Web Proxy。

public:
 property System::Net::Configuration::ProxyElement::AutoDetectValues AutoDetect { System::Net::Configuration::ProxyElement::AutoDetectValues get(); void set(System::Net::Configuration::ProxyElement::AutoDetectValues value); };
[System.Configuration.ConfigurationProperty("autoDetect", DefaultValue=System.Net.Configuration.ProxyElement+AutoDetectValues.Unspecified)]
public System.Net.Configuration.ProxyElement.AutoDetectValues AutoDetect { get; set; }
[<System.Configuration.ConfigurationProperty("autoDetect", DefaultValue=System.Net.Configuration.ProxyElement+AutoDetectValues.Unspecified)>]
member this.AutoDetect : System.Net.Configuration.ProxyElement.AutoDetectValues with get, set
Public Property AutoDetect As ProxyElement.AutoDetectValues

屬性值

如果自動偵測 True,則為 WebProxy;如果不會自動偵測 False,則為 WebProxy;或為 Unspecified

屬性

適用於

另請參閱