Contact.SetContactPicture Contact.SetContactPicture Contact.SetContactPicture Method

Definition

Overloads

SetContactPicture(Byte[]) SetContactPicture(Byte[]) SetContactPicture(Byte[])

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

SetContactPicture(Stream) SetContactPicture(Stream) SetContactPicture(Stream)

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

SetContactPicture(String) SetContactPicture(String) SetContactPicture(String)

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

SetContactPicture(Byte[]) SetContactPicture(Byte[]) 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.

SetContactPicture(Stream) SetContactPicture(Stream) 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 Stream Stream

The stream that contains the contact's picture.

SetContactPicture(String) SetContactPicture(String) 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 String String

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

Applies to