Compartilhar via


ComplexObject.RaiseDataMemberChanging Method

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Called from a property setter to notify the framework that a data member of a complex object is about to be changed.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Protected Sub RaiseDataMemberChanging ( _
    propertyName As String _
)
'Usage
Dim propertyName As String

Me.RaiseDataMemberChanging(propertyName)
protected void RaiseDataMemberChanging(
    string propertyName
)
protected:
void RaiseDataMemberChanging(
    String^ propertyName
)
member RaiseDataMemberChanging : 
        propertyName:string -> unit 
protected function RaiseDataMemberChanging(
    propertyName : String
)

Parameters

  • propertyName
    Type: System.String
    The name of the property that has changed.

Remarks

This method performs any required change tracking and state transitions.

See Also

Reference

ComplexObject Class

System.ServiceModel.DomainServices.Client Namespace