Visual Basic (Usage) | ![]() |
---|---|
Dim value As DataValue Dim expectedType As Type Dim index As Integer Dim diagnosticInfos As DiagnosticInfoCollection Dim responseHeader As ResponseHeader Dim value As ServiceResult value = ClientBase.ValidateDataValue(value, expectedType, index, diagnosticInfos, responseHeader) |
C# | |
---|---|
public static ServiceResult ValidateDataValue( DataValue value, Type expectedType, int index, DiagnosticInfoCollection diagnosticInfos, ResponseHeader responseHeader ) |
Parameters
- value
- The value.
- expectedType
- The expected type.
- index
- The index.
- diagnosticInfos
- The diagnostic information.
- responseHeader
- The response header.
Return Value
Result of the vaidationTarget Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x