共用方式為


ModelItemExtensions.GetModelItemFromPath(String, ModelItem) 方法

定義

從指定的路徑和根擷取模型項目。

public:
 static System::Activities::Presentation::Model::ModelItem ^ GetModelItemFromPath(System::String ^ path, System::Activities::Presentation::Model::ModelItem ^ root);
public static System.Activities.Presentation.Model.ModelItem GetModelItemFromPath (string path, System.Activities.Presentation.Model.ModelItem root);
static member GetModelItemFromPath : string * System.Activities.Presentation.Model.ModelItem -> System.Activities.Presentation.Model.ModelItem
Public Function GetModelItemFromPath (path As String, root As ModelItem) As ModelItem

參數

path
String

路徑。

root
ModelItem

根。

傳回

指定的路徑和根的模型項目。

適用於