次の方法で共有


UserProperty.Value Property

Returns or sets an Object indicating the value for the specified custom property. Read/write.

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

Syntax

'Declaration
<DispIdAttribute()> _
Default Property Value As Object
    Get
    Set
'Usage
Dim instance As UserProperty
Dim value As Object

value = instance

instance = value
[DispIdAttribute()]
Object this { get; set; }

Property Value

Type: System.Object

Remarks

To set for the first time a property created by the Add(String, OlUserPropertyType, Object, Object) method, use the Value property instead of the SetProperties(Object, Object) or SetProperty(String, Object) method of the PropertyAccessor object.

For more information on accessing properties in Outlook, see Properties Overview.

See Also

Reference

UserProperty Interface

UserProperty Members

Microsoft.Office.Interop.Outlook Namespace