次の方法で共有


_OrderFields.Insert Method

Creates a new OrderField object and inserts it at the specified index within the OrderFields collection.

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

Syntax

'Declaration
<DispIdAttribute()> _
Function Insert ( _
    PropertyName As String, _
    Index As Object, _
    IsDescending As Object _
) As OrderField
'Usage
Dim instance As _OrderFields
Dim PropertyName As String
Dim Index As Object
Dim IsDescending As Object
Dim returnValue As OrderField

returnValue = instance.Insert(PropertyName, _
    Index, IsDescending)
[DispIdAttribute()]
OrderField Insert(
    string PropertyName,
    Object Index,
    Object IsDescending
)

Parameters

  • PropertyName
    Type: System.String

    The name of the property to which the new object is associated.

  • Index
    Type: System.Object

    Either the index number at which to insert the new object, or a value used to match the ViewXMLSchemaName property value of an object in the collection at where the new object is to be inserted.

  • IsDescending
    Type: System.Object

    The value used to set the IsDescending property of the new OrderField object. If this value is not specified, the default value of the IsDescending property is used.

Return Value

Type: Microsoft.Office.Interop.Outlook.OrderField
An OrderField object that represents the new order field.

See Also

Reference

_OrderFields Interface

_OrderFields Members

Microsoft.Office.Interop.Outlook Namespace