UriBuilder.Scheme Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the scheme name of the 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
Property Value
The scheme of the URI.
Exceptions
The scheme cannot be set to an invalid scheme name.
Remarks
The following table lists the valid scheme names for the Scheme property.
Scheme | Description |
---|---|
file | The resource is a file on the local computer. |
ftp | The resource is accessed through FTP. |
gopher | The resource is accessed through the Gopher protocol. |
http | The resource is accessed through HTTP. |
https | The resource is accessed through SSL-encrypted HTTP. |
mailto | The resource is an email address and is accessed through SMTP. |
news | The resource is accessed through NNTP. |
Applies to
See also
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET