This documentation is archived and is not being maintained.

Keyword Property

Visual Studio .NET 2003

Returns the collection of Dynamic Help keywords associated with a project.

[Visual Basic .NET]
Public Property Keyword() As String
[Visual Basic 6]
Property Get Keyword() As String
Property Let Keyword( _
   ByVal NewValue As String _
HRESULT __stdcall get_Keyword(
   /* [out, retval] */ BSTR* retVal
HRESULT __stdcall put_Keyword(
   /* [in] */ BSTR NewValue
public string Keyword {get; set;}
[JScript .NET]
public function get Keyword() : String
public function set Keyword(
   NewValue : String


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


The following sample code uses the Keyword property in the development environment:

' 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
    End Sub
End Module

See Samples for Project Model Extensibility for information on how to compile and run this sample.

See Also

Applies To: VCProject Object