Public Property UserName As String
Dim instance As ProcessStartInfo Dim value As String value = instance.UserName instance.UserName = value
public string UserName { get; set; }
public: property String^ UserName { String^ get (); void set (String^ value); }
/** @property */ public String get_UserName () /** @property */ public void set_UserName (String value)
public function get UserName () : String public function set UserName (value : String)
UserName과 Password가 제공된 경우에는 WorkingDirectory 속성이 설정되어 있어야 합니다. 속성이 설정되어 있지 않으면 %SYSTEMROOT%\system32가 기본 작업 디렉터리가 됩니다.
UserName 속성이 Null 참조(Visual Basic의 경우 Nothing) 또는 빈 문자열이 아닌 경우 UseShellExecute 속성은 false여야 하며, 그렇지 않은 경우 Process.Start(ProcessStartInfo) 메서드를 호출하면 InvalidOperationException이 throw됩니다.
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.