PersistNameAttribute Klasa

Definicja

Uwaga

The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.

Ten atrybut obsługuje infrastrukturę platformy .NET i nie powinien być używany bezpośrednio przez kod. Aby uzyskać informacje na temat tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Witryny z ASP.NET.

public ref class PersistNameAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
public class PersistNameAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public class PersistNameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type PersistNameAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
[<System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")>]
type PersistNameAttribute = class
    inherit Attribute
Public Class PersistNameAttribute
Inherits Attribute
Dziedziczenie
PersistNameAttribute
Atrybuty

Konstruktory

Nazwa Opis
PersistNameAttribute(String)
Przestarzałe.

Inicjuje PersistNameAttribute nowe wystąpienie klasy i ustawia Name wartość właściwości na podany ciąg. Ten interfejs API jest przestarzały. Aby uzyskać informacje na temat tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Witryny z ASP.NET.

Pola

Nazwa Opis
Default
Przestarzałe.

Tworzy nowy PersistNameAttribute obiekt bez nazwy. Ten interfejs API jest przestarzały. Aby uzyskać informacje na temat tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Witryny z ASP.NET.

Właściwości

Nazwa Opis
Name
Przestarzałe.

Ta właściwość jest używana wewnętrznie przez platformę strony ASP.NET. Aplikacje nie powinny używać ich jawnie. Ten interfejs API jest przestarzały. Aby uzyskać informacje na temat tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Witryny z ASP.NET.

TypeId
Przestarzałe.

Po zaimplementowaniu w klasie pochodnej pobiera unikatowy identyfikator dla tego Attribute.

(Odziedziczone po Attribute)

Metody

Nazwa Opis
Equals(Object)
Przestarzałe.

Zwraca wartość wskazującą, czy to wystąpienie jest równe określonemu obiektowi. Ten interfejs API jest przestarzały. Aby uzyskać informacje na temat tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Witryny z ASP.NET.

GetHashCode()
Przestarzałe.

Zwraca kod skrótu dla tego wystąpienia. Ten interfejs API jest przestarzały. Aby uzyskać informacje na temat tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Witryny z ASP.NET.

GetType()
Przestarzałe.

Pobiera Type bieżącego wystąpienia.

(Odziedziczone po Object)
IsDefaultAttribute()
Przestarzałe.

Po zastąpieniu w klasie pochodnej wskazuje, czy wartość tego wystąpienia jest wartością domyślną dla klasy pochodnej. Ten interfejs API jest przestarzały. Aby uzyskać informacje na temat tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Witryny z ASP.NET.

Match(Object)
Przestarzałe.

Po zastąpieniu w klasie pochodnej zwraca wartość wskazującą, czy to wystąpienie jest równe określonemu obiektowi.

(Odziedziczone po Attribute)
MemberwiseClone()
Przestarzałe.

Tworzy płytkią kopię bieżącego Object.

(Odziedziczone po Object)
ToString()
Przestarzałe.

Zwraca ciąg reprezentujący bieżący obiekt.

(Odziedziczone po Object)

Jawne implementacje interfejsu

Nazwa Opis
_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)
Przestarzałe.

Zestaw nazw jest mapowany na odpowiedni zestaw identyfikatorów wysyłania.

(Odziedziczone po Attribute)
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)
Przestarzałe.

Pobiera informacje o typie obiektu, którego można użyć do uzyskania informacji o typie dla interfejsu.

(Odziedziczone po Attribute)
_Attribute.GetTypeInfoCount(UInt32)
Przestarzałe.

Pobiera informację o liczbie typów interfejsów, jakie zawiera obiekt (0 lub 1).

(Odziedziczone po Attribute)
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)
Przestarzałe.

Zapewnia dostęp do właściwości i metod uwidocznionych przez obiekt.

(Odziedziczone po Attribute)

Dotyczy