IProcessHostSupportFunctions.GetApplicationProperties 方法

定義

從應用程式的 Metabase 取得屬性。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 void GetApplicationProperties(System::String ^ appId, [Runtime::InteropServices::Out] System::String ^ % virtualPath, [Runtime::InteropServices::Out] System::String ^ % physicalPath, [Runtime::InteropServices::Out] System::String ^ % siteName, [Runtime::InteropServices::Out] System::String ^ % siteId);
public void GetApplicationProperties (string appId, out string virtualPath, out string physicalPath, out string siteName, out string siteId);
abstract member GetApplicationProperties : string * string * string * string * string -> unit
Public Sub GetApplicationProperties (appId As String, ByRef virtualPath As String, ByRef physicalPath As String, ByRef siteName As String, ByRef siteId As String)

參數

appId
String

應用程式的識別碼。

virtualPath
String

應用程式的根虛擬路徑。

physicalPath
String

應用程式的根實體路徑。

siteName
String

應用程式的顯示名稱。

siteId
String

網站識別碼。

備註

GetApplicationProperties會在 .NET Framework 3.5 中引進。 如需詳細資訊,請參閱版本和相依性

適用於