Expression.Label Method

 
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.

Creates a LabelTarget representing a label.

Namespace:   System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticLabel()

Creates a LabelTarget representing a label with void type and no name.

System_CAPS_pubmethodSystem_CAPS_staticLabel(LabelTarget)

Creates a LabelExpression representing a label without a default value.

System_CAPS_pubmethodSystem_CAPS_staticLabel(LabelTarget, Expression)

Creates a LabelExpression representing a label with the given default value.

System_CAPS_pubmethodSystem_CAPS_staticLabel(String)

Creates a LabelTarget representing a label with void type and the given name.

System_CAPS_pubmethodSystem_CAPS_staticLabel(Type)

Creates a LabelTarget representing a label with the given type.

System_CAPS_pubmethodSystem_CAPS_staticLabel(Type, String)

Creates a LabelTarget representing a label with the given type and name.

Return to top
Show: