CollectionCodeDomSerializer.MethodSupportsSerialization(MethodInfo) 方法

定義

驗證序列化支援。method

protected:
 bool MethodSupportsSerialization(System::Reflection::MethodInfo ^ method);
protected bool MethodSupportsSerialization(System.Reflection.MethodInfo method);
member this.MethodSupportsSerialization : System.Reflection.MethodInfo -> bool
Protected Function MethodSupportsSerialization (method As MethodInfo) As Boolean

參數

method
MethodInfo

檢查 MethodInfo 序列化屬性。

傳回

true若 支援method序列化;否則 。 false

例外狀況

methodnull

備註

檢查 method 屬性是否支援序列化。

適用於

另請參閱