SkiModeValidation.CanValidate Method

Checks whether the System.Type parameter is a string.

Namespace: Microsoft.Web.Services3.Security.Configuration
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim type As Type
Dim returnValue As Boolean
Dim skiModeValidation1 As SkiModeValidation
returnValue = skiModeValidation1.CanValidate(type)

Syntax

'Declaration
Public Overrides Function CanValidate( _
    ByVal type As Type _
) As Boolean
public override bool CanValidate(
    Type type
);
public:
virtual bool CanValidate(
    Type^ type
) override;
public override boolean CanValidate(
    Type type
);
public override function CanValidate(
     type : Type
) : Boolean;

Parameters

  • type
    The parameter to be validated.

Return Value

true if the type is a string; otherwise false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

SkiModeValidation Class
SkiModeValidation Members
Microsoft.Web.Services3.Security.Configuration Namespace