语言

Urn.GetAttribute 方法

定义

重载

名称 说明
GetAttribute(String)

从最后一个级别获取筛选器中的属性值

GetAttribute(String, String)

从指定级别获取筛选器中的属性值

GetAttribute(String)

从最后一个级别获取筛选器中的属性值

public string GetAttribute(string attributeName);
member this.GetAttribute : string -> string
Public Function GetAttribute (attributeName As String) As String

参数

attributeName
String

属性名称

返回

属性名称,如果没有具有该名称的属性,则为 null

适用于

GetAttribute(String, String)

从指定级别获取筛选器中的属性值

public string GetAttribute(string attributeName, string type);
member this.GetAttribute : string * string -> string
Public Function GetAttribute (attributeName As String, type As String) As String

参数

attributeName
String

属性名称

type
String

级别名称

返回

属性名称,如果没有具有该名称的属性,则为 null

适用于