共用方式為


GraphSerializationSettings.GraphNodeIdMapper 屬性

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

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

語法

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

屬性值

型別:System.Func<GraphNodeId, GraphNodeId>
傳回 Func<T, TResult>

.NET Framework 安全性

請參閱

參考

GraphSerializationSettings 類別

Microsoft.VisualStudio.GraphModel 命名空間