AttributeValue 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 类的新实例AttributeValue。此类型/成员支持.NET Framework基础结构,不应直接从代码中使用。
public AttributeValue(System.Web.WebPages.Instrumentation.PositionTagged<string> prefix, System.Web.WebPages.Instrumentation.PositionTagged<object> value, bool literal);
new System.Web.WebPages.AttributeValue : System.Web.WebPages.Instrumentation.PositionTagged<string> * System.Web.WebPages.Instrumentation.PositionTagged<obj> * bool -> System.Web.WebPages.AttributeValue
Public Sub New (prefix As PositionTagged(Of String), value As PositionTagged(Of Object), literal As Boolean)
参数
- prefix
- PositionTagged<String>
特性的命名空间前缀。
- value
- PositionTagged<Object>
特性的值。
- literal
- Boolean
如果为 true,则指示该值是文本值;否则为 false。