Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Provides the localized name of an extension.
Vererbungshierarchie
System.Object
System.Attribute
Microsoft.ReportingServices.Interfaces.LocalizedNameAttribute
Namespace: Microsoft.ReportingServices.Interfaces
Assemblys: Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.All)> _
Public Class LocalizedNameAttribute _
Inherits Attribute
'Usage
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
Der LocalizedNameAttribute-Typ macht folgende Elemente verfügbar.
Konstruktoren
| Name | Beschreibung | |
|---|---|---|
![]() |
LocalizedNameAttribute() | Initializes a new instance of the LocalizedNameAttribute class. |
![]() |
LocalizedNameAttribute(String) | Initializes a new instance of the LocalizedNameAttribute class. |
Zum Anfang
Eigenschaften
| Name | Beschreibung | |
|---|---|---|
![]() |
Name | Gets the localized name of the extension. |
![]() |
TypeId | (Geerbt von Attribute.) |
Zum Anfang
Methoden
| Name | Beschreibung | |
|---|---|---|
![]() |
Equals | Determines if the object supplied is the same as the current object. (Überschreibt Attribute.Equals(Object).) |
![]() |
Finalize | (Geerbt von Object.) |
![]() |
GetHashCode | Returns a unique hash code for the object. (Überschreibt Attribute.GetHashCode().) |
![]() |
GetLocalizedString | Returns the correct localized extension name. |
![]() |
GetType | (Geerbt von Object.) |
![]() |
IsDefaultAttribute | (Geerbt von Attribute.) |
![]() |
Match | (Geerbt von Attribute.) |
![]() |
MemberwiseClone | (Geerbt von Object.) |
![]() |
ToString | (Geerbt von Object.) |
Zum Anfang
Explizite Schnittstellenimplementierungen
| Name | Beschreibung | |
|---|---|---|
![]() ![]() |
_Attribute.GetIDsOfNames | (Geerbt von Attribute.) |
![]() ![]() |
_Attribute.GetTypeInfo | (Geerbt von Attribute.) |
![]() ![]() |
_Attribute.GetTypeInfoCount | (Geerbt von Attribute.) |
![]() ![]() |
_Attribute.Invoke | (Geerbt von Attribute.) |
Zum Anfang
Hinweise
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.
Beispiele
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
{
...
}
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.
Siehe auch
Verweis
Microsoft.ReportingServices.Interfaces-Namespace
.gif)
.gif)
.gif)
.gif)
.gif)