次の方法で共有


_OrderFields.Insert(String, Object, Object) メソッド

定義

OrderField しいオブジェクトを作成し、コレクション内の指定したインデックスに OrderFields 挿入します。

public Microsoft.Office.Interop.Outlook.OrderField Insert (string PropertyName, object Index, object IsDescending);
Public Function Insert (PropertyName As String, Index As Object, Optional IsDescending As Object) As OrderField

パラメーター

PropertyName
String

新しいオブジェクトを関連付けるプロパティの名前を指定します。

Index
Object

新しいオブジェクトを挿入するインデックス番号、または新しいオブジェクトが挿入されるコレクション内のオブジェクトのプロパティ値と一致 ViewXMLSchemaName するために使用される値。

IsDescending
Object

新しい OrderField オブジェクトのプロパティをIsDescending設定するために使用される値。 この値を指定しない場合は、IsDescending プロパティの既定値が使用されます。

戻り値

新しい順序フィールドを表す OrderField オブジェクト。

適用対象