語言

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 的計畫。

例外狀況

該方案不能設定為無效的方案名稱。

備註

集合存取器依據 RFC 2396 驗證方案名稱的有效性。 方案名稱必須以字母開頭,且僅包含字母、數字及字元「.」、「+」或「-」。

適用於

另請參閱