SuperMap.Connector.Utility.Layer.Layer C# (CSharp) Method

Layer() protected method

protected Layer ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return System
        protected Layer(SerializationInfo info, StreamingContext context)
        {
            this.Bounds = (Rectangle2D)info.GetValue("Bounds", typeof(Rectangle2D));
            this.Caption = info.GetString("Caption");
            this.Description = info.GetString("Description");
            this.Name = info.GetString("Name");
            this.Queryable = info.GetBoolean("Queryable");
            this.SubLayers = (LayerCollection)info.GetValue("SubLayers", typeof(LayerCollection));
            this.Type = (LayerType)info.GetValue("Type", typeof(LayerType));
            this.Visible = info.GetBoolean("Visible");
        }

Same methods

Layer::Layer ( ) : System
Layer::Layer ( Layer layer ) : System