CompletionSet.Declarations Property
Gets or sets the Declarations object this completion set uses.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'宣告
Public Property Declarations As Declarations
Get
Set
'用途
Dim instance As CompletionSet
Dim value As Declarations
value = instance.Declarations
instance.Declarations = value
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.