UriBuilder.Scheme 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定 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 驗證方案名稱的有效性。 方案名稱必須以字母開頭,且僅包含字母、數字及字元「.」、「+」或「-」。