Represents the code written in Visual Basic Scripting Edition (VBScript) behind the custom form associated with the message.

Quick Info

Exposed on: Message objects
Created by: Outlook
Accessed by: Outlook and solution providers
Property type: PT_BINARY
Access type: Read/write


To retrieve the value of this property, first use IMAPIProp::GetIDsFromNames to obtain the property tag, and then specify this property tag in IMAPIProp::GetProps to get the value. When calling IMAPIProp::GetIDsFromNames, specify the following values for the MAPINAMEID structure pointed at by the input parameter lppPropNames:

lpGuid: PSETID_Common
ulKind: MNID_ID
Kind.lID: dispidScriptStream

See Also

Constants for Outlook Named Properties

How to: Remove Custom Form Definition that Has Been Saved with a Message