Geometry.Parse(String) 方法

定義

使用目前的文化特性,從指定的字串中建立新的 Geometry 執行個體。

public:
 static System::Windows::Media::Geometry ^ Parse(System::String ^ source);
public static System.Windows.Media.Geometry Parse (string source);
static member Parse : string -> System.Windows.Media.Geometry
Public Shared Function Parse (source As String) As Geometry

參數

source
String

描述要建立之幾何的字串。

傳回

從指定的字串建立新的 Geometry 執行個體。

備註

如需如何格式化此字串的詳細資訊,請參閱路徑標記語法

適用於