Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal prompt As String, _ ByVal description As String, _ ByVal key As String, _ ByVal defaultValue As String, _ ByVal propType As Type, _ ByVal isPassword As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim prompt As String Dim description As String Dim key As String Dim defaultValue As String Dim propType As Type Dim isPassword As Boolean Dim instance As New BaseFullAccessProvider.PropertyInfo(prompt, description, key, defaultValue, propType, isPassword) |
C# | |
---|---|
public BaseFullAccessProvider.PropertyInfo( string prompt, string description, string key, string defaultValue, Type propType, bool isPassword ) |
Managed Extensions for C++ | |
---|---|
public: BaseFullAccessProvider.PropertyInfo( string* prompt, string* description, string* key, string* defaultValue, Type* propType, bool isPassword ) |
C++/CLI | |
---|---|
public: BaseFullAccessProvider.PropertyInfo( String^ prompt, String^ description, String^ key, String^ defaultValue, Type^ propType, bool isPassword ) |
Parameters
- prompt
- The prompt for this property. This can be different from the Key.
- description
- A tooltip length description of this property.
- key
- The key= part of this property in the connection string.
- defaultValue
- The default value for this property. Set to null if none.
- propType
- The type for the value. While the connection string is all text, if this is Int32 for example, then the string for the value for this needs to be in the form "123".
- isPassword
- true if this is a password and should be displayed as *****.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family