Vector3D.Parse(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
static System::Windows::Media::Media3D::Vector3D Parse(System::String ^ source);
public static System.Windows.Media.Media3D.Vector3D Parse (string source);
static member Parse : string -> System.Windows.Media.Media3D.Vector3D
Public Shared Function Parse (source As String) As Vector3D
Parameters
Returns
The equivalent Vector3D structure.
Examples
The following example shows how to use the Parse method to convert a string representation of a vector3D into a Vector3D structure.
// Converts a string representation of a vector into a Vector3D structure
Vector3D vectorResult = new Vector3D();
vectorResult = Vector3D.Parse("1,3,5");
// vectorResult is equal to (1, 3, 5)
' Converts a string representation of a vector into a Vector3D structure
Dim vectorResult As New Vector3D()
vectorResult = Vector3D.Parse("1,3,5")
' vectorResult is equal to (1, 3, 5)
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.