Freigeben über


ControlDesigner.IsPropertyBound-Methode

HINWEIS: Diese Methode ist mittlerweile veraltet. Die nicht veraltete Alternative ist Contains.

Ruft einen Wert ab, der angibt, ob die angegebene Eigenschaft des zugeordneten Steuerelements datengebunden ist.

Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)

Syntax

'Declaration
<ObsoleteAttribute("The recommended alternative is DataBindings.Contains(string). The DataBindings collection allows more control of the databindings associated with the control. https://go.microsoft.com/fwlink/?linkid=14202")> _
Public Function IsPropertyBound ( _
    propName As String _
) As Boolean
'Usage
Dim instance As ControlDesigner
Dim propName As String
Dim returnValue As Boolean

returnValue = instance.IsPropertyBound(propName)
[ObsoleteAttribute("The recommended alternative is DataBindings.Contains(string). The DataBindings collection allows more control of the databindings associated with the control. https://go.microsoft.com/fwlink/?linkid=14202")] 
public bool IsPropertyBound (
    string propName
)
[ObsoleteAttribute(L"The recommended alternative is DataBindings.Contains(string). The DataBindings collection allows more control of the databindings associated with the control. https://go.microsoft.com/fwlink/?linkid=14202")] 
public:
bool IsPropertyBound (
    String^ propName
)
/** @attribute ObsoleteAttribute("The recommended alternative is DataBindings.Contains(string). The DataBindings collection allows more control of the databindings associated with the control. https://go.microsoft.com/fwlink/?linkid=14202") */ 
public boolean IsPropertyBound (
    String propName
)
ObsoleteAttribute("The recommended alternative is DataBindings.Contains(string). The DataBindings collection allows more control of the databindings associated with the control. https://go.microsoft.com/fwlink/?linkid=14202") 
public function IsPropertyBound (
    propName : String
) : boolean

Parameter

  • propName
    Die Eigenschaft, die auf Datenbindung überprüft werden soll.

Rückgabewert

true, wenn die Eigenschaft datengebunden ist, andernfalls false.

Hinweise

Hinweis

Die IsPropertyBound-Methode ist veraltet. Verwenden Sie die Contains-Methode der DataBindings-Eigenschaft, um eine entsprechende Funktionalität des Steuerelement-Designers zu erhalten.

.NET Framework-Sicherheit

  • Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter .

Plattformen

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 1.0, 1.1
Veraltet (Compilerwarnung) in 2.0

Siehe auch

Referenz

ControlDesigner-Klasse
ControlDesigner-Member
System.Web.UI.Design-Namespace
Contains

Weitere Ressourcen

Entwurfszeitunterstützung für Web Forms