Size.Parse Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns an instance of Size from a converted String.

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

Public Shared Function Parse (
	source As String
) As Size

Parameters

source
Type: System.String

A String value to parse to a Size value.

Return Value

Type: System.Windows.Size

An instance of Size.

.NET Framework
Available since 3.0
Return to top
Show: