Share via


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.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaration
<ComVisibleAttribute(True)> _
Public Class LocalizableProperties _
    Implements ICustomTypeDescriptor
[ComVisibleAttribute(true)]
public class LocalizableProperties : ICustomTypeDescriptor
[ComVisibleAttribute(true)]
public ref class LocalizableProperties : ICustomTypeDescriptor
[<ComVisibleAttribute(true)>]
type LocalizableProperties =  
    class
        interface ICustomTypeDescriptor
    end
public class LocalizableProperties implements ICustomTypeDescriptor

The LocalizableProperties type exposes the following members.

Constructors

  Name Description
Public method LocalizableProperties This default constructor creates a LocalizableProperties object.

Top

Methods

  Name Description
Public method CreateDesignPropertyDescriptor Returns a DesignPropertyDescriptor wrapper on the given property descriptor.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAttributes Gets a collection of attributes for this component.
Public method GetClassName Returns the class name of this object.
Public method GetComponentName Returns the name of this object.
Public method GetConverter Returns a type converter for this object.
Public method GetDefaultEvent Returns the default event for this object.
Public method GetDefaultProperty Gets the default property for a component.
Public method GetEditor Retrieves the editor for this object.
Public method GetEvents() Gets the collection of events for a specified component.
Public method GetEvents(array<Attribute[]) Gets the collection of events for a specified component using a specified array of attributes as a filter.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetProperties() Gets the collection of properties.
Public method GetProperties(array<Attribute[]) Returns the properties for selected object using the attribute array as a filter.
Public method GetPropertyOwner Returns the brows-able 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 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.

See Also

Reference

Microsoft.VisualStudio.Shell Namespace