FpControlConverter.ConvertAttribute Method
Converts the attribute name=value pair from the FrontPage webbot format to the ASP.NET control format.
[Visual Basic]
MustOverride Protected Function ConvertAttribute( _
ByRef
name As
String, _
ByRef
value As
String, _
ByVal
endspan As
Boolean _
) As
Object
Parameters
-
name
- The name string to convert on input, and the converted name string on output.
-
value
- The value string to convert on input, and the converted value string on output.
-
endspan
- True if the attribute is part of an endspan tag.
Return Value
An FpControlConverter.ErrorCodedescribing the result of the conversion, or a string.
Remarks
If you need to return multiple converted name/value pairs for a single input pair, use spaces to separate the names and values. If there is not a space character in the name string, then the value string is not split up.
If you need to return a custom error or warning message, return a string in the form of <code>:<message> where code is the numeric error code, and message is the error message.
This method is called by ConvertControl.
See Also
FpControlConverter Class | Parastream.Web.UI.Design Namespace