DataChangingEventArgs Constructor
Initializes a new instance of the DataChangingEventArgs class.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common.ComponentModel
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Sub New ( _
propertyName As String, _
oldPropertyValue As String, _
newPropertyValue As String, _
state As IComponent _
)
'Usage
Dim propertyName As String
Dim oldPropertyValue As String
Dim newPropertyValue As String
Dim state As IComponent
Dim instance As New DataChangingEventArgs(propertyName, _
oldPropertyValue, newPropertyValue, _
state)
public DataChangingEventArgs(
string propertyName,
string oldPropertyValue,
string newPropertyValue,
IComponent state
)
public:
DataChangingEventArgs(
String^ propertyName,
String^ oldPropertyValue,
String^ newPropertyValue,
IComponent^ state
)
public function DataChangingEventArgs(
propertyName : String,
oldPropertyValue : String,
newPropertyValue : String,
state : IComponent
)
new :
propertyName:string *
oldPropertyValue:string *
newPropertyValue:string *
state:IComponent -> DataChangingEventArgs
Parameters
- propertyName
Type: System.String
The property name
- oldPropertyValue
Type: System.String
The old property value
- newPropertyValue
Type: System.String
The new property value
- state
Type: System.ComponentModel.IComponent
The component model state
.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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Common.ComponentModel Namespace