共用方式為


CodeWindowManager.Properties Property

Allows retrieving and updating the document properties.

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

Syntax

'宣告
Public Property Properties As DocumentProperties
    Get
    Set
'用途
Dim instance As CodeWindowManager
Dim value As DocumentProperties

value = instance.Properties

instance.Properties = value
public DocumentProperties Properties { get; set; }
public:
property DocumentProperties^ Properties {
    DocumentProperties^ get ();
    void set (DocumentProperties^ value);
}
member Properties : DocumentProperties with get, set
function get Properties () : DocumentProperties
function set Properties (value : DocumentProperties)

Property Value

Type: Microsoft.VisualStudio.Package.DocumentProperties
Returns a DocumentProperties object obtained in the constructor through a call to the CreateDocumentProperties method.

Remarks

If the Properties property is given a new DocumentProperties object, the previous object is closed before the new object is set. DocumentProperties.Refresh is called on the new object if it is not a null value.

.NET Framework Security

See Also

Reference

CodeWindowManager Class

CodeWindowManager Members

Microsoft.VisualStudio.Package Namespace