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