Export (0) Print
Expand All

Point4D.Parse Method

Converts a String representation of a point4D structure into the equivalent Point4D structure.

Namespace:  System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

public static Point4D Parse(
	string source
)

Parameters

source
Type: System.String

The String representation of the point4D structure.

Return Value

Type: System.Windows.Media.Media3D.Point4D
Returns the equivalent Point4D structure.

The following example shows how to use the Parse method to convert a string representation of point4D structure into a Point4D structure.

// Converts a string representation of a 4D point into a Point4D structure.

Point4D pointResult = new Point4D();

pointResult = Point4D.Parse("1,3,5,7");
// pointResult is equal to (1, 3, 5, 7) 

// Displaying Results
syntaxString = "pointResult = Point4D.Parse(\"1,3,5,7\");";
resultType = "Point4D";
operationString = "Converts a string into a Point4D structure.";
ShowResults(pointResult.ToString(), syntaxString, resultType, operationString);

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft