SByte.IConvertible.ToBoolean(IFormatProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
For a description of this member, see ToBoolean(IFormatProvider).
virtual bool System.IConvertible.ToBoolean(IFormatProvider ^ provider) = IConvertible::ToBoolean;
bool IConvertible.ToBoolean (IFormatProvider provider);
abstract member System.IConvertible.ToBoolean : IFormatProvider -> bool
override this.System.IConvertible.ToBoolean : IFormatProvider -> bool
Function ToBoolean (provider As IFormatProvider) As Boolean Implements IConvertible.ToBoolean
Parameters
- provider
- IFormatProvider
This parameter is unused.
Returns
true
if the value of the current instance is not zero; otherwise, false
.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the SByte instance is cast to an IConvertible interface. The recommended alternative is to call the Convert.ToBoolean(SByte) method.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.