StructuralObject.SetValidValue Method (Nullable<UInt16>)

 
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.

Makes sure the UInt16 value being set for a property is valid.

This API is not CLS-compliant.

Namespace:   System.Data.Objects.DataClasses
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

[CLSCompliantAttribute(false)]
protected internal static Nullable<ushort> SetValidValue(
	Nullable<ushort> value
)

Parameters

value
Type: System.Nullable<UInt16>

The nullable UInt16 value.

Return Value

Type: System.Nullable<UInt16>

The nullable UInt16 value being set.

.NET Framework
Available since 3.5
Return to top
Show: