ModelProviderBase.Validate Method
Validates this provider.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.SchemaAndDataCompare
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Overridable Function Validate ( _
<OutAttribute> ByRef errorMessage As String _
) As Boolean
'Usage
Dim instance As ModelProviderBase
Dim errorMessage As String
Dim returnValue As Boolean
returnValue = instance.Validate(errorMessage)
public virtual bool Validate(
out string errorMessage
)
public:
virtual bool Validate(
[OutAttribute] String^% errorMessage
)
public function Validate(
errorMessage : String
) : boolean
abstract Validate :
errorMessage:string -> bool
override Validate :
errorMessage:string -> bool
Parameters
- errorMessage
Type: System.String%
The resulting error messages, if any
Return Value
Type: System.Boolean
Implements
IModelProvider.Validate(String%)
.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.SchemaAndDataCompare Namespace