App.Web.Areas.HelpPage.ImageSample.ImageSample C# (CSharp) Méthode

ImageSample() public méthode

Initializes a new instance of the ImageSample class.
public ImageSample ( string src ) : System
src string The URL of an image.
Résultat System
        public ImageSample(string src)
        {
            if (src == null)
            {
                throw new ArgumentNullException("src");
            }
            Src = src;
        }