閱讀英文

共用方式為


Unbox.AsBoolean Method

Unboxes the specified object into a Boolean object.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

public static bool AsBoolean(
    Object var
)

Parameters

Return Value

Type: System.Boolean
Returns a Boolean object.

.NET Framework Security

See Also

Reference

Unbox Class

Microsoft.VisualStudio.PlatformUI Namespace