Google.Maps.Location.GetAsUrlParameter C# (CSharp) 메소드

GetAsUrlParameter() 공개 메소드

Gets the current instance as a URL encoded value.
public GetAsUrlParameter ( ) : string
리턴 string
        public virtual string GetAsUrlParameter()
        {
            return System.Uri.EscapeDataString(this.ToString());
        }

Usage Example

예제 #1
0
        public void Location_with_spaces_gives_empty_url()
        {
            Location l = "    ";

            string expected = "";
            string actual   = l.GetAsUrlParameter();

            Assert.AreEqual(expected, actual);
        }
All Usage Examples Of Google.Maps.Location::GetAsUrlParameter