语法
ASP.NET Ajax Javascript (Specification) | |
---|---|
var attributes : Object; |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfFeature.attributes; |
示例
以下代码示范了如何使用 attributes 属性。
JavaScript | ![]() |
---|---|
var geoFeature = new Feature(); geoFeature.attributes.name="北京"; geoFeature.attributes.description="中国政治文化中心"; |
需求
操作系统: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7
浏览器: Internet Explorer 6 以上