AddCustomization 方法 (String, String, String, String, Boolean, Boolean, String, String[]) (2003 系統)
命名空間: Microsoft.VisualStudio.Tools.Applications.Runtime
組件: Microsoft.VisualStudio.Tools.Applications.Runtime (在 Microsoft.VisualStudio.Tools.Applications.Runtime.dll 中)
語法
'宣告
Public Shared Function AddCustomization ( _
documentPath As String, _
assemblyName As String, _
deploymentManifestPath As String, _
applicationVersion As String, _
makePathsRelative As Boolean, _
checkDocument As Boolean, _
deployedAssemblyLocation As String, _
<OutAttribute> ByRef nonpublicCachedDataMembers As String() _
) As String
'用途
Dim documentPath As String
Dim assemblyName As String
Dim deploymentManifestPath As String
Dim applicationVersion As String
Dim makePathsRelative As Boolean
Dim checkDocument As Boolean
Dim deployedAssemblyLocation As String
Dim nonpublicCachedDataMembers As String()
Dim returnValue As String
returnValue = ServerDocument.AddCustomization(documentPath, _
assemblyName, deploymentManifestPath, _
applicationVersion, makePathsRelative, _
checkDocument, deployedAssemblyLocation, _
nonpublicCachedDataMembers)
public static string AddCustomization(
string documentPath,
string assemblyName,
string deploymentManifestPath,
string applicationVersion,
bool makePathsRelative,
bool checkDocument,
string deployedAssemblyLocation,
out string[] nonpublicCachedDataMembers
)
參數
- documentPath
型別:System. . :: .String
- assemblyName
型別:System. . :: .String
- deploymentManifestPath
型別:System. . :: .String
- applicationVersion
型別:System. . :: .String
- makePathsRelative
型別:System. . :: .Boolean
- checkDocument
型別:System. . :: .Boolean
- deployedAssemblyLocation
型別:System. . :: .String
- nonpublicCachedDataMembers
型別:array<System. . :: .String> [] () []%
傳回值
使用權限
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。