Table of Contents

Method CanGet

Namespace
CSV4Unity
Assembly
CSV4Unity.Docs.dll

CanGet(Type, IFormatProvider)

例外を送出せず、指定型へ変換可能かを確認します。

public bool CanGet(Type targetType, IFormatProvider formatProvider = null)

Parameters

targetType Type

変換先型。

formatProvider IFormatProvider

数値および日時形式。nullの場合はInvariantCultureを使用します。

Returns

bool

変換可能な場合はtrue、それ以外はfalse。

Exceptions

ArgumentNullException

targetTypeがnullです。