GraphNodeId.Parse 方法 (String, Boolean, Func<Int32, GraphNodeId>)
將字串解析成 GraphNodeId
命名空間: Microsoft.VisualStudio.GraphModel
組件: Microsoft.VisualStudio.GraphModel (在 Microsoft.VisualStudio.GraphModel.dll 中)
語法
'宣告
Public Shared Function Parse ( _
id As String, _
throwOnFailure As Boolean, _
resolver As Func(Of Integer, GraphNodeId) _
) As GraphNodeId
public static GraphNodeId Parse(
string id,
bool throwOnFailure,
Func<int, GraphNodeId> resolver
)
public:
static GraphNodeId^ Parse(
String^ id,
bool throwOnFailure,
Func<int, GraphNodeId^>^ resolver
)
static member Parse :
id:string *
throwOnFailure:bool *
resolver:Func<int, GraphNodeId> -> GraphNodeId
public static function Parse(
id : String,
throwOnFailure : boolean,
resolver : Func<int, GraphNodeId>
) : GraphNodeId
參數
id
類型:String要剖析的字串識別項
throwOnFailure
類型:Boolean表示是否方法應擲回例外狀況的旗標
resolver
類型:Func<Int32, GraphNodeId>類別名稱解析程式
傳回值
類型:Microsoft.VisualStudio.GraphModel.GraphNodeId
新剖析的 GraphNodeId
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。