VB.Net by API/System.Configuration.ConfigurationSettings/AppSettings

Материал из VB Эксперт
Перейти к: навигация, поиск

AppSettings.Get

  
 

public class GetConfig
   public Shared Sub Main
        System.Configuration.ConfigurationSettings.AppSettings.Get("Title")
   End Sub
End class
"<configuration>
"    <appSettings>
"        <add key="Title" value="This is my Window Title" />
"    </appSettings>
"</configuration>