AbstractModelBase<(Of <(<'TPropertyTracking>)>)>..::..GetNew Method (String)

Fetches a string value, returning String.Empty if it doesn't exist.

Namespace:  Tortuga.Anchor.Modeling.Internals
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


protected string GetNew(
	string propertyName
)
Protected Function GetNew ( _
	propertyName As String _
) As String

Parameters

propertyName
Type: String
Case-sensitive property name

Return Value

Exceptions


ExceptionCondition
[ArgumentNullException]propertyName;propertyName is null.
[ArgumentException]propertyName is empty.;propertyName

Remarks


This is a special care for strings, as we usually don't want them to default to null. This is the equivalent of calling GetDefault("", propertyName)