Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetValidValue Method (Int64, String)
Collapse the table of content
Expand the table of content

StructuralObject.SetValidValue Method (Int64, String)

.NET Framework 4.6 and 4.5

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

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

protected internal static long SetValidValue(
	long value,
	string propertyName
)

Parameters

value
Type: System.Int64

The Int64 value.

propertyName
Type: System.String

The name of the property that is being validated.

Return Value

Type: System.Int64
The Int64 value being set.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft