ObservableObject::SetProperty<T> Method (T, T, Action<T, T>^, String^)

Visual Studio 2015
 

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

protected:
generic<typename T>
bool SetProperty(
	T% field,
	T newValue,
	Action<T, T>^ beforeNotifyAction,
	String^ propertyName = null
)

Parameters

field
Type: T

newValue
Type: T

beforeNotifyAction
Type: System::Action<TT>^

propertyName
Type: System::String^

Return Value

Type: System::Boolean

Type Parameters

T

Return to top
Show: