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 序列化属性。

返回

如果支持序列化,则为 否则为

例外

methodnull

注解

method检查属性以查看它们是否支持序列化。

适用于

另请参阅