VCConfiguration.SatelliteDLLs 属性
获取此配置所生成的所有附属 DLL 的列表(列表项之间用分号分隔)。
命名空间: Microsoft.VisualStudio.VCProjectEngine
程序集: Microsoft.VisualStudio.VCProjectEngine(在 Microsoft.VisualStudio.VCProjectEngine.dll 中)
语法
声明
ReadOnly Property SatelliteDLLs As String
string SatelliteDLLs { get; }
property String^ SatelliteDLLs {
String^ get ();
}
abstract SatelliteDLLs : string with get
function get SatelliteDLLs () : String
属性值
类型:System.String
一个字符串,其中包含以分号分隔的附属 DLL 列表。
示例
有关如何编译和运行此示例的信息,请参见 如何:编译项目模型扩展性示例代码 。
' Add a reference to Microsoft.VisualStudio.VCProjectEngine and have a
' Visual C++ project loaded before running this example.
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine
Public Module Module1
Sub Test()
Dim prj As VCProject
Dim cfgs As IVCCollection
Dim cfg As VCConfiguration
Dim MyDbg As VCDebugSettings
prj = DTE.Solution.Projects.Item(1).Object
cfgs = prj.Configurations
cfg = cfgs.Item(1)
MsgBox("Satellite DLLs: " & cfg.SatelliteDLLs)
End Sub
End Module
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。