MailMessage.UrlContentBase 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 Content-Base
HTTP header, the URL base of all relative URLs used within the HTML-encoded body of the email message. Recommended alternative: System.Net.Mail.
public:
property System::String ^ UrlContentBase { System::String ^ get(); void set(System::String ^ value); };
public string UrlContentBase { get; set; }
member this.UrlContentBase : string with get, set
Public Property UrlContentBase As String
Property Value
The URL base.
Examples
MailMessage MyMessage = new MailMessage();
MyMessage.UrlContentBase="http://www.contoso.com/Employees";
Dim MyMessage As MailMessage = New MailMessage()
MyMessage.UrlContentBase="http://www.contoso.com/Employees"
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.