共用方式為


IModelMultiRelationship.InsertElement 方法

在指定的索引位置插入關聯性項目 (Entry) (根據項目 (Element))。

命名空間:  Microsoft.Data.Schema.SchemaModel
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Function InsertElement ( _
    atIndex As Integer, _
    element As IModelElement _
) As IModelRelationshipEntry
IModelRelationshipEntry InsertElement(
    int atIndex,
    IModelElement element
)
IModelRelationshipEntry^ InsertElement(
    int atIndex, 
    IModelElement^ element
)
abstract InsertElement : 
        atIndex:int * 
        element:IModelElement -> IModelRelationshipEntry 
function InsertElement(
    atIndex : int, 
    element : IModelElement
) : IModelRelationshipEntry

參數

傳回值

型別:Microsoft.Data.Schema.SchemaModel.IModelRelationshipEntry
傳回 IModelRelationshipEntry

.NET Framework 安全性

請參閱

參考

IModelMultiRelationship 介面

Microsoft.Data.Schema.SchemaModel 命名空間