ExtensionMethods.IsNonreal Method
Helper method to check if a double is valid.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
‘선언
<ExtensionAttribute> _
Public Shared Function IsNonreal ( _
value As Double _
) As Boolean
‘사용 방법
Dim value As Double
Dim returnValue As Boolean
returnValue = value.IsNonreal()
public static bool IsNonreal(
this double value
)
[ExtensionAttribute]
public:
static bool IsNonreal(
double value
)
static member IsNonreal :
value:float -> bool
public static function IsNonreal(
value : double
) : boolean
Parameters
- value
Type: System.Double
double to check.
Return Value
Type: System.Boolean
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Double. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
.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.