LocalizableProperties Class
LocalizableProperties provides a class that supplies custom type information on localizable properties for an object.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Shell.LocalizableProperties
Microsoft.VisualStudio.Package.DocumentProperties
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
<ComVisibleAttribute(True)> _
Public Class LocalizableProperties _
Implements ICustomTypeDescriptor
[ComVisibleAttribute(true)]
public class LocalizableProperties : ICustomTypeDescriptor
The LocalizableProperties type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LocalizableProperties | This default constructor creates a LocalizableProperties object. |
Top
Methods
Name | Description | |
---|---|---|
CreateDesignPropertyDescriptor | Returns a DesignPropertyDescriptor wrapper on the given property descriptor. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAttributes | Gets a collection of attributes for this component. | |
GetClassName | Returns the class name of this object. | |
GetComponentName | Returns the name of this object. | |
GetConverter | Returns a type converter for this object. | |
GetDefaultEvent | Returns the default event for this object. | |
GetDefaultProperty | Gets the default property for a component. | |
GetEditor | Retrieves the editor for this object. | |
GetEvents() | Gets the collection of events for a specified component. | |
GetEvents(array<Attribute[]) | Gets the collection of events for a specified component using a specified array of attributes as a filter. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetProperties() | Gets the collection of properties. | |
GetProperties(array<Attribute[]) | Returns the properties for selected object using the attribute array as a filter. | |
GetPropertyOwner | Returns the brows-able object. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
Typically, this class is used when an object needs dynamic localizable property information. This class can be used as a base class for project or document properties which are displayed in the Properties Window when the document or project file is active.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.