_Store.DisplayName Property

Returns a String (string in C#) representing the display name of the Store object. Read-only.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property DisplayName As String
    Get
'Usage
Dim instance As _Store
Dim value As String

value = instance.DisplayName
[DispIdAttribute()]
string DisplayName { get; }

Property Value

Type: System.String

Remarks

DisplayName is the default property of the Store object. This property corresponds to the MAPI property, PidTagDisplayName.

DisplayName is read-only. To change the DisplayName of a Personal Folders File (.pst), use the PropertyAccessor object and the _PropertyAccessor.SetProperty method.

See Also

Reference

_Store Interface

_Store Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Get Information About Stores in a Profile