CollectionCodeDomSerializer.MethodSupportsSerialization(MethodInfo) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
驗證序列化支援。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
例外狀況
method 是 null。
備註
檢查 method 屬性是否支援序列化。