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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。