Version

SetField<T> Method (ProjectColumnDefinition)

Helper method used by property setters to change the value of a field and raise the PropertyChanged event.
Syntax
'Declaration
 
Protected Overrides Function SetField(Of T)( _
   ByRef member As T, _
   ByVal value As T, _
   ByVal propertyName As String _
) As Boolean
protected override bool SetField<T>( 
   ref T member,
   T value,
   string propertyName
)

Parameters

member
The field member to be modified
value
The new value
propertyName
The name of the property associated with the field being changed

Type Parameters

T
The type of field member being changed

Return Value

True if the new value differed from the member and the property was changed; otherwise false is returned.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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