_Rules.Item[Object] 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.
public:
property Microsoft::Office::Interop::Outlook::Rule ^ default[System::Object ^] { Microsoft::Office::Interop::Outlook::Rule ^ get(System::Object ^ Index); };
public Microsoft.Office.Interop.Outlook.Rule this[object Index] { get; }
Default Public ReadOnly Property Item(Index As Object) As Rule
Parameters
- Index
- Object
Either a 1-based Integer (int in C#) value value representing an index into the Rules collection, or a String (string in C#) name representing the value of the default property of a rule, Name.
Property Value
A Rule object that matches the rule specified by Index
.
Remarks
Returns an error when the rule cannot be found in the collection.