次の方法で共有

Facebook x.com LinkedIn 電子メール

VCProjectConfigurationProperties.PDBPath プロパティ

シンボル ファイルを検索する追加のディレクトリです。

名前空間: Microsoft.VisualStudio.VCProject
アセンブリ: Microsoft.VisualStudio.VCProject (Microsoft.VisualStudio.VCProject.dll 内)

構文

'宣言
Property PDBPath As String
 Get
 Set
string PDBPath { get; set; }
property String^ PDBPath {
 String^ get ();
 void set (String^ value);
}
abstract PDBPath : string with get, set
function get PDBPath () : String
function set PDBPath (value : String)

プロパティ値

型: System.String
シンボル ファイルを検索するディレクトリ。

解説

ディレクトリ名はセミコロンで区切ります。

このサンプル コードをコンパイルして実行する方法については、「方法 : プロジェクト モデル機能拡張のプログラム例をコンパイルする」を参照してください。

[Visual Basic]

開発環境で PDBPath プロパティを変更するサンプル コードを次に示します。

' add reference to Microsoft.VisualStudio.VCProjectEngine
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine
Public Module Module1
 Sub Test()
 Dim mystring As String
 Dim prj As VCProject
 Dim cfgs, tools As IVCCollection
 Dim cfg As VCConfiguration
 Dim tool As VCDebugSettings
 prj = DTE.Solution.Projects.Item(1).Object
 cfgs = prj.Configurations
 cfg = cfgs.Item(1)
 tool = cfg.DebugSettings
 tool.PDBPath = "c:\test;d:\test"
 End Sub
End Module

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

VCProjectConfigurationProperties インターフェイス

Microsoft.VisualStudio.VCProject 名前空間


  • Last updated on 2011年08月09日