Jurassic.Library.HiddenClassSchema.GetPropertyIndex C# (CSharp) Method

GetPropertyIndex() public method

Gets the zero-based index of the property with the given name.
public GetPropertyIndex ( object key ) : int
key object The property key (either a string or a Symbol).
return int
        public int GetPropertyIndex(object key)
        {
            return GetPropertyIndexAndAttributes(key).Index;
        }