ObservableObject.NotifyPropertyChanged Method
The method that is called when a property has changed.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Protected Sub NotifyPropertyChanged ( _
propertyName As String _
)
protected void NotifyPropertyChanged(
string propertyName
)
protected:
void NotifyPropertyChanged(
String^ propertyName
)
member NotifyPropertyChanged :
propertyName:string -> unit
protected function NotifyPropertyChanged(
propertyName : String
)
Parameters
propertyName
Type: StringThe CallerMemberName attribute that is applied to the optional propertyName parameter causes the property name of the caller to be substituted as an argument.
Remarks
This method is called by the Set accessor of each property.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.