Share via


PhoneVoicemail.MessageCount Property

Definition

Get the current count of voice mail messages associated with the PhoneLine instance. A value of -1 indicates an "indeterminate" number of messages.

public:
 property int MessageCount { int get(); };
int MessageCount();
public int MessageCount { get; }
var int32 = phoneVoicemail.messageCount;
Public ReadOnly Property MessageCount As Integer

Property Value

Int32

int

The current count of voice mail messages.

Windows requirements

App capabilities
phoneCallHistory phoneCallHistorySystem

Applies to