PagePorter Class Library

FpLinkBarConverter.ConvertAttribute Method 

Converts the attribute name=value pair from the FrontPage webbot format to the ASP.NET control format.

[Visual Basic]
Overrides Protected Function ConvertAttribute( _
   ByRef name As String, _
   ByRef value As String, _
   ByVal endspan As Boolean _
) As Object
[C#]
protected override object ConvertAttribute(
   ref string name,
   ref string value,
   bool endspan
);

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 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

FpLinkBarConverter Class | Parastream.Web.UI.Design Namespace