Chili.Opf3 Send comments on this topic.
GetValidFieldName Method
See Also 
Chili.Opf3.Storages Namespace > SqlCommandBuilderBase Class : GetValidFieldName Method




name
Name for the field that is transformed.
Transforms the parameter to a valid field.

Syntax

Visual Basic (Declaration) 
Public Overridable MustOverride Function GetValidFieldName( _
   ByVal name As String _
) As String
Visual Basic (Usage)Copy Code
Dim instance As SqlCommandBuilderBase
Dim name As String
Dim value As String
 
value = instance.GetValidFieldName(name)
C# 
public virtual abstract string GetValidFieldName( 
   string name
)
Managed Extensions for C++ 
public: virtual abstract string* GetValidFieldName( 
   string* name
) 
C++/CLI 
public:
virtual abstract String^ GetValidFieldName( 
   String^ name
) 

Parameters

name
Name for the field that is transformed.

Return Value

Returns a string that represents a valid field name.

Remarks

This method returns a field name that is valid for the current storage. For some storages it is a better choice to start each field name with a '[' and end with a ']' (Ms Access) - This method could wrap each field name passed with '[]'.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also