Edit

Share via


Contact.SetContactPicture Method

Definition

Overloads

SetContactPicture(Byte[])

Sets the contact's picture by using the specified byte array.

SetContactPicture(Stream)

Sets the contact's picture by using the specified stream.

SetContactPicture(String)

Sets the contact's picture by using the specified file.

SetContactPicture(Byte[])

Sets the contact's picture by using the specified byte array.

public:
 void SetContactPicture(cli::array <System::Byte> ^ content);
public void SetContactPicture (byte[] content);
Public Sub SetContactPicture (content As Byte())

Parameters

content
Byte[]

The bytes that make the picture.

Applies to

SetContactPicture(Stream)

Sets the contact's picture by using the specified stream.

public:
 void SetContactPicture(System::IO::Stream ^ contentStream);
public void SetContactPicture (System.IO.Stream contentStream);
Public Sub SetContactPicture (contentStream As Stream)

Parameters

contentStream
Stream

The stream that contains the contact's picture.

Applies to

SetContactPicture(String)

Sets the contact's picture by using the specified file.

public:
 void SetContactPicture(System::String ^ fileName);
public void SetContactPicture (string fileName);
Public Sub SetContactPicture (fileName As String)

Parameters

fileName
String

The name of the file that contains the contact's picture.

Applies to