Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Provides the localized name of an extension.
Jerarquía de herencia
System.Object
System.Attribute
Microsoft.ReportingServices.Interfaces.LocalizedNameAttribute
Espacio de nombres: Microsoft.ReportingServices.Interfaces
Ensamblados: Microsoft.ReportingServices.Interfaces (en Microsoft.ReportingServices.Interfaces.dll)
Microsoft.ReportingServices.SharePoint.UI.WebParts (en Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
Sintaxis
'Declaración
<AttributeUsageAttribute(AttributeTargets.All)> _
Public Class LocalizedNameAttribute _
Inherits Attribute
'Uso
Dim instance As LocalizedNameAttribute
[AttributeUsageAttribute(AttributeTargets.All)]
public class LocalizedNameAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::All)]
public ref class LocalizedNameAttribute : public Attribute
[<AttributeUsageAttribute(AttributeTargets.All)>]
type LocalizedNameAttribute =
class
inherit Attribute
end
public class LocalizedNameAttribute extends Attribute
El tipo LocalizedNameAttribute expone los siguientes miembros.
Constructores
| Nombre | Descripción | |
|---|---|---|
![]() |
LocalizedNameAttribute() | Initializes a new instance of the LocalizedNameAttribute class. |
![]() |
LocalizedNameAttribute(String) | Initializes a new instance of the LocalizedNameAttribute class. |
Arriba
Propiedades
| Nombre | Descripción | |
|---|---|---|
![]() |
Name | Gets the localized name of the extension. |
![]() |
TypeId | (Se hereda de Attribute.) |
Arriba
Métodos
| Nombre | Descripción | |
|---|---|---|
![]() |
Equals | Determines if the object supplied is the same as the current object. (Invalida Attribute.Equals(Object).) |
![]() |
Finalize | (Se hereda de Object.) |
![]() |
GetHashCode | Returns a unique hash code for the object. (Invalida Attribute.GetHashCode().) |
![]() |
GetLocalizedString | Returns the correct localized extension name. |
![]() |
GetType | (Se hereda de Object.) |
![]() |
IsDefaultAttribute | (Se hereda de Attribute.) |
![]() |
Match | (Se hereda de Attribute.) |
![]() |
MemberwiseClone | (Se hereda de Object.) |
![]() |
ToString | (Se hereda de Object.) |
Arriba
Implementaciones de interfaces explícitas
| Nombre | Descripción | |
|---|---|---|
![]() ![]() |
_Attribute.GetIDsOfNames | (Se hereda de Attribute.) |
![]() ![]() |
_Attribute.GetTypeInfo | (Se hereda de Attribute.) |
![]() ![]() |
_Attribute.GetTypeInfoCount | (Se hereda de Attribute.) |
![]() ![]() |
_Attribute.Invoke | (Se hereda de Attribute.) |
Arriba
Comentarios
The LocalizedNameAttribute class allows the caller to determine the localized name of the extension without loading the extension.
Note To give the extension a name which is dependent on the user's language, you must override the GetLocalizedString method.
Ejemplos
The following code snippet shows the LocalizedNameAttribute being set on an extension class:
[C#]
namespace PolygonsCRI
{
[LocalizedName("Polygons")]
[Editor(typeof(CustomEditor), typeof(ComponentEditor))]
[ToolboxBitmap(typeof(PolygonsDesigner),"Polygons.ico")]
// this CRI-specific attribute sets the name of the
// custom report item which is referenced by the config
// files and saved in the report definition language
[CustomReportItem("Polygons")]
// the main class for our CRI design-time component
public class PolygonsDesigner : CustomReportItemDesigner
{
...
}
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Vea también
Referencia
Espacio de nombres Microsoft.ReportingServices.Interfaces
.gif)
.gif)
.gif)
.gif)
.gif)