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 安全性

请参见

参考

AddIn 接口

EnvDTE 命名空间