VCProject.keyword Property

Definition

Gets or sets the collection of Dynamic Help keywords associated with a project.

public:
 property System::String ^ keyword { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ keyword { Platform::String ^ get(); void set(Platform::String ^ value); };
[System.Runtime.InteropServices.DispId(834)]
public string keyword { [System.Runtime.InteropServices.DispId(834)] get; [System.Runtime.InteropServices.DispId(834)] set; }
[<System.Runtime.InteropServices.DispId(834)>]
[<get: System.Runtime.InteropServices.DispId(834)>]
[<set: System.Runtime.InteropServices.DispId(834)>]
member this.keyword : string with get, set
Public Property keyword As String

Property Value

The collection of Dynamic Help keywords associated with a project.

Attributes

Examples

See How to: Compile Example Code for Project Model Extensibility for information about how to compile and run this example.

The following example uses the keyword property in the integrated development environment (IDE):

' add reference to Microsoft.VisualStudio.VCProjectEngine  
Imports EnvDTE  
Imports Microsoft.VisualStudio.VCProjectEngine  

Public Module Module1  
    Sub Test()  
        Dim prj As VCProject  
        prj = DTE.Solution.Projects.Item(1).Object  
        MsgBox(prj.Keyword)  
    End Sub  
End Module  

Remarks

The keyword determines which topics appear in the Dynamic Help window.

Applies to