开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜