共用方式為


DocumentProperties Members

Include Protected Members
Include Inherited Members

Provides support for document-specific properties associated with a language service.

The DocumentProperties type exposes the following members.

Constructors

  Name Description
Protected method DocumentProperties Initializes a new instance of the DocumentProperties class.

Top

Methods

  Name Description
Public method Close Closes down the DocumentProperties object so that its properties are no longer visible in the Properties window.
Public method CountObjects Returns the number of objects managed by this DocumentProperties object.
Public method CreateDesignPropertyDescriptor Returns a DesignPropertyDescriptor wrapper on the given property descriptor. (Inherited from LocalizableProperties.)
Public method Dispose() Cleans up the object.
Protected method Dispose(Boolean) Cleans up the object and its resources.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Does final cleanup of the object. (Overrides Object.Finalize().)
Public method GetAttributes Gets a collection of attributes for this component. (Inherited from LocalizableProperties.)
Public method GetClassName Returns the class name of this object. (Inherited from LocalizableProperties.)
Public method GetCodeWindowManager Retrieves the code window manager associated with this DocumentProperties object.
Public method GetComponentName Returns the name of this object. (Inherited from LocalizableProperties.)
Public method GetConverter Returns a type converter for this object. (Inherited from LocalizableProperties.)
Public method GetDefaultEvent Returns the default event for this object. (Inherited from LocalizableProperties.)
Public method GetDefaultProperty Gets the default property for a component. (Inherited from LocalizableProperties.)
Public method GetEditor Retrieves the editor for this object. (Inherited from LocalizableProperties.)
Public method GetEvents() Gets the collection of events for a specified component. (Inherited from LocalizableProperties.)
Public method GetEvents(array<Attribute[]) Gets the collection of events for a specified component using a specified array of attributes as a filter. (Inherited from LocalizableProperties.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetObjects Returns a list of objects managed by this DocumentProperties object.
Public method GetProperties() Gets the collection of properties. (Inherited from LocalizableProperties.)
Public method GetProperties(array<Attribute[]) Returns the properties for selected object using the attribute array as a filter. (Inherited from LocalizableProperties.)
Public method GetPropertyOwner Returns the brows-able object. (Inherited from LocalizableProperties.)
Public method GetSource Returns a Source object associated with this DocumentProperties object.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Refresh Updates the Properties window with the latest property values.
Public method SelectObjects Called to manage the selection of multiple objects in the Properties window.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property Visible Determines if the DocumentProperties object is visible in the Properties window.

Top

See Also

Reference

DocumentProperties Class

Microsoft.VisualStudio.Package Namespace