Edit

Share via


ContactCard.PhotoUri Property

Definition

Gets or sets the uri indicating the web url of the photo.

public:
 property System::String ^ PhotoUri { System::String ^ get(); void set(System::String ^ value); };
public string PhotoUri { get; set; }
member this.PhotoUri : string with get, set
Public Property PhotoUri As String

Property Value

Exceptions

Thrown if the value is an invalid web address.

Remarks

Applications are advised to provide a valid web address and ensure that the photo size is within limitations otherwise Microsoft Lync 2010 may not honor it. The photo size limit recommended can be obtained by the "MaxPhotoSizeKb" property in Microsoft.Rtc.Collaboration.Presence.ProvisioningData.EndpointConfiguration.Properties.

Applies to