共用方式為


GraphConditionalStyleCollection.Insert 方法

在清單中指定位置插入指定的樣式。

命名空間:  Microsoft.VisualStudio.GraphModel.Styles
組件:  Microsoft.VisualStudio.GraphModel (在 Microsoft.VisualStudio.GraphModel.dll 中)

語法

'宣告
Public Function Insert ( _
    index As Integer, _
    style As GraphConditionalStyle _
) As GraphConditionalStyle
public GraphConditionalStyle Insert(
    int index,
    GraphConditionalStyle style
)
public:
GraphConditionalStyle^ Insert(
    int index, 
    GraphConditionalStyle^ style
)
member Insert : 
        index:int * 
        style:GraphConditionalStyle -> GraphConditionalStyle 
public function Insert(
    index : int, 
    style : GraphConditionalStyle
) : GraphConditionalStyle

參數

傳回值

型別:Microsoft.VisualStudio.GraphModel.Styles.GraphConditionalStyle
傳回 GraphConditionalStyle

.NET Framework 安全性

請參閱

參考

GraphConditionalStyleCollection 類別

Microsoft.VisualStudio.GraphModel.Styles 命名空間