Expression.Label Method (Type, String)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Creates a LabelTarget representing a label with the given type and name.
Assembly: System.Core (in System.Core.dll)
'Declaration Public Shared Function Label ( _ type As Type, _ name As String _ ) As LabelTarget
Parameters
- type
- Type: System.Type
The type of value that is passed when jumping to the label.
- name
- Type: System.String
The name of the label.
Return Value
Type: System.Linq.Expressions.LabelTargetThe new LabelTarget representing a label with the given type and name.
Show: