Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dot properties of controls.
Message
 
 
À
02/11/2001 04:47:51
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00576605
Message ID:
00578045
Vues:
15
>Can someone tell me about the dot properties. of the controls in VB.NET.
>
>Can such properties be created by the user too??
>
>Thanks.

This is available in VB6 already and I am sure it will work in .NET. For example to add a FormName.Parameter property use the following code:
Private m_strParameter As String
'===============================================================
'*  Property:       Parameter
'*  Author:         Joe Johnston 07/19/2001
'*  Description:    This is to allow forms to accept parameters
'*  Parameters:     Whatever you want to pass. Alter type as needed
'===============================================================
Public Property Get Parameter() As String
    Parameter = m_strParameter
  End Property
  Public Property Let Parameter(ByVal strParameter As String)
    m_strParameter = strParameter
End Property
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform