ContactWebsite ContactWebsite ContactWebsite ContactWebsite Class

Represents the info about a Web site for a contact.

Syntax

Declaration

public sealed class ContactWebsitepublic sealed class ContactWebsitePublic NotInheritable Class ContactWebsite

Constructors summary

Initializes a new instance of a ContactWebsite class.

Properties summary

Gets and sets the description of a Web site for a contact. The maximum string length for the description is 512 characters.

Gets or sets the raw website address for the contact. This address is not checked for valid URI formatting.

Gets and sets the Uniform Resource Identifier (URI) of a Web site for a contact.

Constructors

  • ContactWebsite()
    ContactWebsite()
    ContactWebsite()
    ContactWebsite()

    Initializes a new instance of a ContactWebsite class.

    public ContactWebsite()public ContactWebsite()Public Function ContactWebsite() As

Properties

  • Description
    Description
    Description
    Description

    Gets and sets the description of a Web site for a contact. The maximum string length for the description is 512 characters.

    public string Description { get; set; }public string Description { get; set; }Public ReadWrite Property Description As string

    Property Value

    • string
      string
      string
      string

      The description of a Web site for a contact.

  • RawValue
    RawValue
    RawValue
    RawValue

    Gets or sets the raw website address for the contact. This address is not checked for valid URI formatting.

    public string RawValue { get; set; }public string RawValue { get; set; }Public ReadWrite Property RawValue As string

    Property Value

    • string
      string
      string
      string

      The raw website address for the contact.

  • Uri
    Uri
    Uri
    Uri

    Gets and sets the Uniform Resource Identifier (URI) of a Web site for a contact.

    public Uri Uri { get; set; }public Uri Uri { get; set; }Public ReadWrite Property Uri As Uri

    Property Value

    • The Uniform Resource Identifier (URI) of a Web site for a contact.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ActivatableAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.ApplicationModel.Contacts.dll