_MoveOrCopyRuleAction.Folder Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets a Folder object that represents the folder to which the rule moves or copies the message. Read/write.
public:
property Microsoft::Office::Interop::Outlook::MAPIFolder ^ Folder { Microsoft::Office::Interop::Outlook::MAPIFolder ^ get(); void set(Microsoft::Office::Interop::Outlook::MAPIFolder ^ value); };
public Microsoft.Office.Interop.Outlook.MAPIFolder Folder { get; set; }
Public Property Folder As MAPIFolder
Property Value
Remarks
If no folder has been assigned to the move or copy rule action, this property is Nothing (a null reference (Nothing in Visual Basic) in C#).
This property returns an error if the specified folder cannot serve as a target folder for the copy or move operation. For example, the folder is a search folder, is read-only, or the user does not have the required permissions to move or copy messages to it.