AddIn.SatelliteDllPath 属性
如果有,则获取包含本地化资源的 DLL 的位置。
命名空间: EnvDTE
程序集: EnvDTE(在 EnvDTE.dll 中)
语法
声明
ReadOnly Property SatelliteDllPath As String
Get
string SatelliteDllPath { get; }
property String^ SatelliteDllPath {
String^ get ();
}
abstract SatelliteDllPath : string
function get SatelliteDllPath () : String
属性值
类型:System.String
一个字符串,表示包含本地化资源的 DLL 的路径。
备注
附属 DLL 文件可被外接程序用于附加资源或本地化资源。
示例
Sub SatelliteDLLPathExample()
' Set object references.
Dim addincoll As AddIns
Dim addinobj As AddIn
addincoll = DTE.AddIns
addinobj = addincoll.Item(1)
' Connect the add-in if it is not already connected
' and list its SatelliteDLLPath and Guid.
If addinobj.Connected = False Then
addinobj.Connected = True
End If
MsgBox("Satellite DLL Path: " & addinobj.SatelliteDllPath)
MsgBox("DLL GUID: " & addinobj.Guid)
End Sub
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。