Version

MapToObjectName Method

Maps the name of a binding member property to the corresponding name of a WebSchedule object model property.
Syntax
'Declaration
 
Protected Overridable Function MapToObjectName( _
   ByVal bindingPropertyName As String _
) As String
protected virtual string MapToObjectName( 
   string bindingPropertyName
)

Parameters

bindingPropertyName
The property name of a binding member on an affiliated WebScheduleDataBinding subclass.

Return Value

The name in bindingPropertyName with the "Member" suffix removed.
Exceptions
ExceptionDescription
System.ArgumentExceptionThrown when bindingPropertyName is less than seven characters long. The bindingPropertyName must be at least seven characters long if it is to become a non-empty string after the six character long string, "Member," is removed from it. The shortest possible object property name is one character.
System.NullReferenceExceptionThrown when bindingPropertyName is null (Nothing in Visual Basic .NET). Null binding member names have no meaningful mapping into the value space of object property names.
Remarks

Inheritors overriding this method must also override MapToBindingName to ensure these implementations remain symmetrical.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also