PictureBox.ImageLocation Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Görüntüde görüntülenecek yolu veya URL'yi PictureBoxalır veya ayarlar.
public:
property System::String ^ ImageLocation { System::String ^ get(); void set(System::String ^ value); };
public string ImageLocation { get; set; }
public string? ImageLocation { get; set; }
member this.ImageLocation : string with get, set
Public Property ImageLocation As String
Özellik Değeri
görüntüde görüntülenecek PictureBoxyol veya URL.
Açıklamalar
Özellik değeri gerçek bir yol (örneğin, "C:\SomeFolder\SomeSubFolder\Picture.jpg"), göreli yol ("\SomeSubFolder\Picture.jpg") veya URL (http://contoso.com/images/Picture.jpg) olabilir.
Göreli bir yol kullanılırsa, çalışma dizinine göre değerlendirilir.
yöntemine yapılan Load bir çağrı özelliğin ImageLocation üzerine yazılır ve yöntem çağrısında belirtilen URL değerine ayarlanır ImageLocation .