共用方式為


GraphSerializationSettings.GraphNodeIdMapper 屬性

在進行序列化之前,將一個 GraphNodeId 轉換為另一個。

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

語法

'宣告
Public Property GraphNodeIdMapper As Func(Of GraphNodeId, GraphNodeId)
public Func<GraphNodeId, GraphNodeId> GraphNodeIdMapper { get; set; }
public:
property Func<GraphNodeId^, GraphNodeId^>^ GraphNodeIdMapper {
    Func<GraphNodeId^, GraphNodeId^>^ get ();
    void set (Func<GraphNodeId^, GraphNodeId^>^ value);
}
member GraphNodeIdMapper : Func<GraphNodeId, GraphNodeId> with get, set
function get GraphNodeIdMapper () : Func<GraphNodeId, GraphNodeId>
function set GraphNodeIdMapper (value : Func<GraphNodeId, GraphNodeId>)

屬性值

類型:Func<GraphNodeId, GraphNodeId>
傳回 Func

.NET Framework 安全性

請參閱

參考

GraphSerializationSettings 類別

Microsoft.VisualStudio.GraphModel 命名空間