Partager via


TtlInSecondsConfigElement.TtlInSecondsValidationAttribute.CanValidate Method

Checks whether the System.Type is an integer.

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 ttlInSecondsConfigElement_TtlInSecondsValidationAttribute1 As TtlInSecondsConfigElement.TtlInSecondsValidationAttribute
returnValue = ttlInSecondsConfigElement_TtlInSecondsValidationAttribute1.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

Return Value

true if the type is an integer; 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

TtlInSecondsConfigElement.TtlInSecondsValidationAttribute Class
TtlInSecondsConfigElement.TtlInSecondsValidationAttribute Members
Microsoft.Web.Services3.Security.Configuration Namespace