System.Runtime.Serialization.Json.JsonReader.GetAttribute C# (CSharp) Метод

GetAttribute() публичный Метод

public GetAttribute ( int index ) : string
index int
Результат string
		public override string GetAttribute (int index)
		{
			if (index == 0 && current_node == XmlNodeType.Element)
				return elements.Peek ().Type;
			else if (index == 1 && current_runtime_type != null)
				return current_runtime_type;
			throw new ArgumentOutOfRangeException ("index", "Index is must be either 0 or 1 when there is an explicit __type in the object, and only valid on an element on this XmlDictionaryReader");
		}

Same methods

JsonReader::GetAttribute ( string name ) : string
JsonReader::GetAttribute ( string localName, string ns ) : string