ExtenderProvidedPropertyAttribute Klasse
Definition
Gibt eine Eigenschaft an, die von einem Extenderanbieter angeboten wird.Specifies a property that is offered by an extender provider. Diese Klasse kann nicht vererbt werden.This class cannot be inherited.
public ref class ExtenderProvidedPropertyAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.All)]
public sealed class ExtenderProvidedPropertyAttribute : Attribute
type ExtenderProvidedPropertyAttribute = class
inherit Attribute
Public NotInheritable Class ExtenderProvidedPropertyAttribute
Inherits Attribute
- Vererbung
- Attribute
Hinweise
Wird von der TypeDescriptor -Klasse automatisch in Eigenschaften eingefügt, die als erweiterte Eigenschaften verfügbar gemacht werden. ExtenderProvidedPropertyAttributeThe ExtenderProvidedPropertyAttribute is injected automatically by the TypeDescriptor class on properties that are exposed as extended properties.
Hinweis
Verwenden Sie dieses Attribut nicht in ihren Eigenschaften.Do not use this attribute on your properties. Verwenden ProvidePropertyAttribute Sie stattdessen für einen Typ, der die IExtenderProvider -Schnittstelle implementiert.Instead, use the ProvidePropertyAttribute on a type that implements the IExtenderProvider interface. Weitere Informationen finden Sie unter Extenderanbieter.For more information, see Extender Providers.
Konstruktoren
ExtenderProvidedPropertyAttribute() |
Initialisiert eine neue Instanz der ExtenderProvidedPropertyAttribute-Klasse.Initializes a new instance of the ExtenderProvidedPropertyAttribute class. |
Eigenschaften
ExtenderProperty |
Ruft die Eigenschaft ab, die bereitgestellt wird.Gets the property that is being provided. |
Provider |
Ruft den Extenderanbieter ab, der die Eigenschaft bereitstellt.Gets the extender provider that is providing the property. |
ReceiverType |
Ruft den Objekttyp ab, der die Eigenschaft empfangen kann.Gets the type of object that can receive the property. |
TypeId |
Ruft bei Implementierung in einer abgeleiteten Klasse einen eindeutigen Bezeichner für dieses Attribute ab.When implemented in a derived class, gets a unique identifier for this Attribute. (Geerbt von Attribute) |
Methoden
Equals(Object) |
Gibt einen Wert zurück, der angibt, ob diese Instanz gleich einem angegebenen Objekt ist.Returns a value that indicates whether this instance is equal to a specified object. |
GetHashCode() |
Gibt den Hashcode für diese Instanz zurück.Returns the hash code for this instance. |
GetType() |
Ruft den Type der aktuellen Instanz ab.Gets the Type of the current instance. (Geerbt von Object) |
IsDefaultAttribute() |
Gibt an, ob der Wert dieser Instanz der Standardwert für die abgeleitete Klasse ist.Provides an indication whether the value of this instance is the default value for the derived class. |
Match(Object) |
Beim Überschreiben in einer abgeleiteten Klasse wird ein Wert zurückgegeben, der angibt, ob diese Instanz einem bestimmten Objekt entspricht.When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Geerbt von Attribute) |
MemberwiseClone() |
Erstellt eine flache Kopie des aktuellen Object.Creates a shallow copy of the current Object. (Geerbt von Object) |
ToString() |
Gibt eine Zeichenfolge zurück, die das aktuelle Objekt darstellt.Returns a string that represents the current object. (Geerbt von Object) |
Explizite Schnittstellenimplementierungen
_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) |
Ordnet eine Reihe von Namen einer entsprechenden Reihe von Dispatchbezeichnern zu.Maps a set of names to a corresponding set of dispatch identifiers. (Geerbt von Attribute) |
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) |
Ruft die Typinformationen für ein Objekt ab, mit deren Hilfe die Typinformationen für eine Schnittstelle abgerufen werden können.Retrieves the type information for an object, which can be used to get the type information for an interface. (Geerbt von Attribute) |
_Attribute.GetTypeInfoCount(UInt32) |
Ruft die Anzahl der Schnittstellen mit Typinformationen ab, die von einem Objekt bereitgestellt werden (0 oder 1).Retrieves the number of type information interfaces that an object provides (either 0 or 1). (Geerbt von Attribute) |
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) |
Stellt den Zugriff auf von einem Objekt verfügbar gemachte Eigenschaften und Methoden bereit.Provides access to properties and methods exposed by an object. (Geerbt von Attribute) |