AttributeValue Constructor
Initializes a new instance of the AttributeValue class.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Namespace: System.Web.WebPages
Assembly: System.Web.WebPages (in System.Web.WebPages.dll)
Syntax
'Declaration
Public Sub New ( _
prefix As PositionTagged(Of String), _
value As PositionTagged(Of Object), _
literal As Boolean _
)
'Usage
Dim prefix As PositionTagged(Of String)
Dim value As PositionTagged(Of Object)
Dim literal As Boolean
Dim instance As New AttributeValue(prefix, _
value, literal)
public AttributeValue(
PositionTagged<string> prefix,
PositionTagged<Object> value,
bool literal
)
public:
AttributeValue(
PositionTagged<String^>^ prefix,
PositionTagged<Object^>^ value,
bool literal
)
new :
prefix:PositionTagged<string> *
value:PositionTagged<Object> *
literal:bool -> AttributeValue
public function AttributeValue(
prefix : PositionTagged<String>,
value : PositionTagged<Object>,
literal : boolean
)
Parameters
- prefix
Type: System.Web.WebPages.Instrumentation.PositionTagged<String>
The namespace prefix for the attribute.
- value
Type: System.Web.WebPages.Instrumentation.PositionTagged<Object>
The value for the attribute.
- literal
Type: System.Boolean
true to indicate that the value is a literal value; otherwise, false.