Amazon.DynamoDBv2.DocumentModel.Table.GetType C# (CSharp) Method

GetType() private static method

private static GetType ( string attributeType ) : DynamoDBEntryType
attributeType string
return DynamoDBEntryType
        private static DynamoDBEntryType GetType(string attributeType)
        {
            if (String.Equals(attributeType, "N"))
                return DynamoDBEntryType.Numeric;
            if (String.Equals(attributeType, "S"))
                return DynamoDBEntryType.String;
            if (String.Equals(attributeType, "B"))
                return DynamoDBEntryType.Binary;
            throw new InvalidOperationException("Unknown attribute type");
        }