Compartilhar via


CompletionSet.Declarations Property

Gets or sets the Declarations object this completion set uses.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Property Declarations As Declarations
public Declarations Declarations { get; set; }
public:
property Declarations^ Declarations {
    Declarations^ get ();
    void set (Declarations^ value);
}
member Declarations : Declarations with get, set
function get Declarations () : Declarations 
function set Declarations (value : Declarations)

Property Value

Type: Microsoft.VisualStudio.Package.Declarations
Declarations .

Remarks

This property returns the Declarations object that was passed to the Init method. Do not change the Declarations object while a completion list is showing.

.NET Framework Security

See Also

Reference

CompletionSet Class

Microsoft.VisualStudio.Package Namespace