VCCustomBuildTool.ToolKind Özellik
Aracı bu tür adını alır.
Ad alanı: Microsoft.VisualStudio.VCProjectEngine
Derleme: Microsoft.VisualStudio.VCProjectEngine (Microsoft.VisualStudio.VCProjectEngine.dll içinde)
Sözdizimi
'Bildirim
ReadOnly Property ToolKind As String
string ToolKind { get; }
property String^ ToolKind {
String^ get ();
}
abstract ToolKind : string with get
function get ToolKind () : String
Özellik Değeri
Tür: String
Tür bir aracın adını gösteren bir dizedir.
Notlar
Bkz: Nasıl yapılır: Proje Modeli Genişletilebilirliği için Örnek Kod Derleme derlemek ve bu örnek çalıştırma hakkında bilgi için.
Örnekler
' 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, tools As IVCCollection
Dim cfg As VCConfiguration
Dim tool As VCALinkTool
Dim msg As String
prj = DTE.Solution.Projects.Item(1).Object
cfgs = prj.Configurations
cfg = cfgs.Item(1)
tool = cfg.Tools("VCAlinkTool")
msg += "Tool kind: " & tool.ToolKind & vbCr
msg += "Tool name: " & tool.ToolName & vbCr
msg += "Tool path: " & tool.ToolPath
MsgBox(msg)
End Sub
End Module
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen Güvenilen Koddan Kitaplıkları Kullanma.