开发者

How define object that will be send to the other side?

开发者 https://www.devze.com 2023-02-19 08:37 出处:网络
How to define an object that will be send to the开发者_如何学运维 client ? You can use the DataContract and the DataMember

How to define an object that will be send to the开发者_如何学运维 client ?


You can use the DataContract and the DataMember

[DataContract]
public class SomeObject
{
    [DataMember]
    public Int32 SomePropertis
    {
        get;
        set;
    }
}
0

精彩评论

暂无评论...
验证码 换一张
取 消