UriBuilder.Scheme 屬性

定義

取得或設定 URI 的配置名稱。

public:
 property System::String ^ Scheme { System::String ^ get(); void set(System::String ^ value); };
public string Scheme { get; set; }
member this.Scheme : string with get, set
Public Property Scheme As String

屬性值

URI 的配置。

例外狀況

配置不能設定為不正確的配置名稱。

備註

下表列出 屬性的有效配置名稱 Scheme

配置 描述
檔案 資源是本機電腦上的檔案。
ftp 資源是透過 FTP 存取。
gopher 資源是透過 Gopher 通訊協定來存取。
http 資源是透過 HTTP 存取。
https 資源是透過 SSL 加密的 HTTP 存取。
mailto 資源是電子郵件地址,可透過 SMTP 存取。
news 資源是透過 NNTP 存取。

適用於

另請參閱