IProcessHostSupportFunctions.GetApplicationProperties 方法

定义

从应用程序的元数据库获取属性。

此 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

应用程序的 ID。

virtualPath
String

应用程序的根虚拟路径。

physicalPath
String

应用程序的根物理路径。

siteName
String

应用程序的显示名称。

siteId
String

站点 ID。

注解

GetApplicationProperties在 3.5 .NET Framework中引入。 有关详细信息,请参见版本和依赖关系

适用于