Önceki Başlık: existsCalendarSonraki Başlık: existsCustomOperator


existsCustomIcon

existsCustomIcon işlevi, belirtilen yolda bir özel simge nesnesinin mevcut olup olmadığını denetler. Yol, mutlak/bağıntılı bir yol olabilir. Bağıntılı yol, komut dosyasının yürütüldüğü işlemle bağıntılıdır.

Sözdizimi

bExists = existsCustomIcon(customIconPath)

Bağımsız Değişkenler

customIconPath (String)

Varlığının denetlenmesi gereken özel simge nesnesinin tam/bağıntılı yolunu belirtir.

Dönüş Değeri

bExists (Boolean)

Özel simge nesnesi varsa true değerini; aksi takdirde, false değerini döndürür.

Örnek

if (existsCustomIcon(customIconPath))
{
	Process.mseg_custom_icon= "CustomIcon exists" ;
}
else
{
	Process.mseg_custom_icon= "CustomIcon does not exist" ;
}